/[escript]/branches/RW_WIN32/escript/src/Data/DataExpanded.cpp
ViewVC logotype

Diff of /branches/RW_WIN32/escript/src/Data/DataExpanded.cpp

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

revision 185 by robwdcock, Sun Nov 20 05:43:12 2005 UTC revision 186 by robwdcock, Sun Nov 20 10:51:16 2005 UTC
# Line 218  DataExpanded::setSlice(const DataAbstrac Line 218  DataExpanded::setSlice(const DataAbstrac
218    if (getPointDataView().getRank()!=region.size()) {    if (getPointDataView().getRank()!=region.size()) {
219      throw DataException("Error - Invalid slice region.");      throw DataException("Error - Invalid slice region.");
220    }    }
221    if (tempDataExp->getPointDataView().getRank()>0 and !value->getPointDataView().checkShape(shape)) {    if (tempDataExp->getPointDataView().getRank()>0 && !value->getPointDataView().checkShape(shape)) {
222      throw DataException (value->getPointDataView().createShapeErrorMessage(      throw DataException (value->getPointDataView().createShapeErrorMessage(
223          "Error - Couldn't copy slice due to shape mismatch.",shape));          "Error - Couldn't copy slice due to shape mismatch.",shape));
224    }    }

Legend:
Removed from v.185  
changed lines
  Added in v.186

  ViewVC Help
Powered by ViewVC 1.1.26