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

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

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

revision 1827 by ksteube, Thu Oct 2 04:28:07 2008 UTC revision 1846 by gross, Fri Oct 3 06:42:35 2008 UTC
# Line 387  DataExpanded::copyToDataPoint(const int Line 387  DataExpanded::copyToDataPoint(const int
387       ValueType::size_type offset = getPointOffset(sampleNo, dataPointNo);       ValueType::size_type offset = getPointOffset(sampleNo, dataPointNo);
388       ValueType& vec=getVector();       ValueType& vec=getVector();
389       if (dataPointRank==0) {       if (dataPointRank==0) {
390           vec[0]=value;           vec[offset]=value;
391       } else if (dataPointRank==1) {       } else if (dataPointRank==1) {
392          for (int i=0; i<dataPointShape[0]; i++) {          for (int i=0; i<dataPointShape[0]; i++) {
393              vec[offset+i]=value;              vec[offset+i]=value;

Legend:
Removed from v.1827  
changed lines
  Added in v.1846

  ViewVC Help
Powered by ViewVC 1.1.26