/[escript]/trunk/escript/src/DataExpanded.cpp
ViewVC logotype

Diff of /trunk/escript/src/DataExpanded.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2271 by jfenwick, Mon Feb 16 05:08:29 2009 UTC revision 2458 by jfenwick, Wed Jun 3 06:18:21 2009 UTC
# Line 378  DataExpanded::copyToDataPoint(const int Line 378  DataExpanded::copyToDataPoint(const int
378    //    //
379    // check rank:    // check rank:
380    if (value.getRank()!=getRank())    if (value.getRank()!=getRank())
381         throw DataException("Rank of numarray does not match Data object rank");         throw DataException("Rank of value does not match Data object rank");
382    if (numSamples*numDataPointsPerSample > 0) {    if (numSamples*numDataPointsPerSample > 0) {
383       //TODO: global error handling       //TODO: global error handling
384       if ((sampleNo >= numSamples) || (sampleNo < 0 )) {       if ((sampleNo >= numSamples) || (sampleNo < 0 )) {

Legend:
Removed from v.2271  
changed lines
  Added in v.2458

  ViewVC Help
Powered by ViewVC 1.1.26