Parent Directory
|
Revision Log
|
Patch
revision 1952 by jfenwick, Wed Oct 29 05:48:53 2008 UTC | revision 1953 by phornby, Thu Oct 30 07:01:11 2008 UTC | |
---|---|---|
# | Line 865 Data::setValueOfDataPointToArray(int dat | Line 865 Data::setValueOfDataPointToArray(int dat |
865 | ||
866 | // | // |
867 | // check shape of num_array | // check shape of num_array |
868 | for (int i=0; i<getDataPointRank(); i++) { | for (unsigned int i=0; i<getDataPointRank(); i++) { |
869 | if (extract<int>(num_array.getshape()[i])!=getDataPointShape()[i]) | if (extract<int>(num_array.getshape()[i])!=getDataPointShape()[i]) |
870 | throw DataException("Shape of numarray does not match Data object rank"); | throw DataException("Shape of numarray does not match Data object rank"); |
871 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |