/[escript]/branches/clazy/escriptcore/src/DataLazy.cpp
ViewVC logotype

Diff of /branches/clazy/escriptcore/src/DataLazy.cpp

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

revision 2085 by jfenwick, Mon Nov 24 00:45:48 2008 UTC revision 2086 by jfenwick, Mon Nov 24 02:38:50 2008 UTC
# Line 252  GTPShape(DataAbstract_ptr left, DataAbst Line 252  GTPShape(DataAbstract_ptr left, DataAbst
252       for (int i=0; i<rank0-axis_offset; i++, ++out_index) { shape2[out_index]=tmpShape0[i]; } // First part of arg_0_Z       for (int i=0; i<rank0-axis_offset; i++, ++out_index) { shape2[out_index]=tmpShape0[i]; } // First part of arg_0_Z
253       for (int i=axis_offset; i<rank1; i++, ++out_index)   { shape2[out_index]=tmpShape1[i]; } // Last part of arg_1_Z       for (int i=axis_offset; i<rank1; i++, ++out_index)   { shape2[out_index]=tmpShape1[i]; } // Last part of arg_1_Z
254    }    }
255    
256      if (shape2.size()>ESCRIPT_MAX_DATA_RANK)
257      {
258         ostringstream os;
259         os << "C_GeneralTensorProduct: Error - Attempt to create a rank " << shape2.size() << " object. The maximum rank is " << ESCRIPT_MAX_DATA_RANK << ".";
260         throw DataException(os.str());
261      }
262    
263    return shape2;    return shape2;
264  }  }
265    

Legend:
Removed from v.2085  
changed lines
  Added in v.2086

  ViewVC Help
Powered by ViewVC 1.1.26