/[escript]/branches/arrayview_from_1695_trunk/escript/src/DataConstant.cpp
ViewVC logotype

Diff of /branches/arrayview_from_1695_trunk/escript/src/DataConstant.cpp

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

revision 1713 by jfenwick, Tue Aug 12 01:13:16 2008 UTC revision 1714 by jfenwick, Thu Aug 21 00:01:55 2008 UTC
# Line 85  DataConstant::DataConstant(const DataCon Line 85  DataConstant::DataConstant(const DataCon
85  {  {
86    //    //
87    // get the shape of the slice to copy from    // get the shape of the slice to copy from
88    DataTypes::ShapeType shape(DataArrayView::getResultSliceShape(region));    DataTypes::ShapeType shape(DataTypes::getResultSliceShape(region));
89    //    //
90    // allocate space for this new DataConstant's data    // allocate space for this new DataConstant's data
91    int len = DataTypes::noValues(shape);    int len = DataTypes::noValues(shape);
# Line 163  DataConstant::setSlice(const DataAbstrac Line 163  DataConstant::setSlice(const DataAbstrac
163      throw DataException("Programming error - casting to DataConstant.");      throw DataException("Programming error - casting to DataConstant.");
164    }    }
165    //    //
166    DataTypes::ShapeType shape(DataArrayView::getResultSliceShape(region));    DataTypes::ShapeType shape(DataTypes::getResultSliceShape(region));
167    DataTypes::RegionLoopRangeType region_loop_range=getSliceRegionLoopRange(region);    DataTypes::RegionLoopRangeType region_loop_range=getSliceRegionLoopRange(region);
168    //    //
169    // check shape:    // check shape:

Legend:
Removed from v.1713  
changed lines
  Added in v.1714

  ViewVC Help
Powered by ViewVC 1.1.26