/[escript]/branches/arrayview_from_1695_trunk/escript/test/DataTestCase.cpp
ViewVC logotype

Diff of /branches/arrayview_from_1695_trunk/escript/test/DataTestCase.cpp

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

revision 1785 by jfenwick, Thu Sep 11 05:03:14 2008 UTC revision 1786 by jfenwick, Fri Sep 12 03:16:28 2008 UTC
# Line 581  void DataTestCase::testDataTagged() { Line 581  void DataTestCase::testDataTagged() {
581      bool expanded=false;      bool expanded=false;
582    
583      Data myData(keys,values,defaultValue,FunctionSpace(),expanded);*/      Data myData(keys,values,defaultValue,FunctionSpace(),expanded);*/
584      int arr[0]={};      int arr[1]={1};     // iso c++ does not like empty arrays
585      DataTagged* dt=new DataTagged(FunctionSpace(),viewShape,arr,viewData);      DataTagged* dt=new DataTagged(FunctionSpace(),viewShape,arr,viewData);
586      Data myData(dt);      Data myData(dt);
587    

Legend:
Removed from v.1785  
changed lines
  Added in v.1786

  ViewVC Help
Powered by ViewVC 1.1.26