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

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

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

revision 2199 by jfenwick, Thu Jan 8 06:10:52 2009 UTC revision 2200 by jfenwick, Thu Jan 8 23:55:40 2009 UTC
# Line 1628  Data Line 1628  Data
1628  Data::trace(int axis_offset) const  Data::trace(int axis_offset) const
1629  {      {    
1630       MAKELAZYOPOFF(TRACE,axis_offset)       MAKELAZYOPOFF(TRACE,axis_offset)
1631         if ((axis_offset<0) || (axis_offset>getDataPointRank()))
1632         {
1633        throw DataException("Error - Data::trace, axis_offset must be between 0 and rank-2 inclusive.");
1634         }
1635       DataTypes::ShapeType s=getDataPointShape();       DataTypes::ShapeType s=getDataPointShape();
1636       if (getDataPointRank()==2) {       if (getDataPointRank()==2) {
1637          DataTypes::ShapeType ev_shape;          DataTypes::ShapeType ev_shape;

Legend:
Removed from v.2199  
changed lines
  Added in v.2200

  ViewVC Help
Powered by ViewVC 1.1.26