/[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 1512 by gross, Thu Apr 10 05:28:01 2008 UTC revision 1513 by gross, Tue Apr 15 08:47:57 2008 UTC
# Line 766  DataExpanded::reorderByReferenceIDs(int Line 766  DataExpanded::reorderByReferenceIDs(int
766                if (id == reference_ids[sampleNo2]) {                if (id == reference_ids[sampleNo2]) {
767                   p=&(m_data[getPointOffset(sampleNo,0)]);                   p=&(m_data[getPointOffset(sampleNo,0)]);
768                   p2=&(m_data[getPointOffset(sampleNo2,0)]);                   p2=&(m_data[getPointOffset(sampleNo2,0)]);
769                   #pragma ivdep                   for (i=0; i<n ;i++) {
                  for (i=0; i<n ;++i) {  
770                           rtmp=p[i];                           rtmp=p[i];
771                           p[i]=p2[i];                           p[i]=p2[i];
772                           p2[i]=rtmp;                           p2[i]=rtmp;

Legend:
Removed from v.1512  
changed lines
  Added in v.1513

  ViewVC Help
Powered by ViewVC 1.1.26