/[escript]/branches/windows_from_1456_trunk_1490_merged_in/escript/src/DataExpanded.cpp
ViewVC logotype

Diff of /branches/windows_from_1456_trunk_1490_merged_in/escript/src/DataExpanded.cpp

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

revision 1521 by trankine, Mon Apr 14 09:09:20 2008 UTC revision 1522 by phornby, Tue Apr 22 06:13:48 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.1521  
changed lines
  Added in v.1522

  ViewVC Help
Powered by ViewVC 1.1.26