Changeset 1085 in Sophya for trunk/SophyaLib/TArray


Ignore:
Timestamp:
Jul 24, 2000, 6:34:16 PM (25 years ago)
Author:
ansari
Message:

Compil CXX (ConvertAndCopy()) - Reza+CMV 24/7/2000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/TArray/tarray.cc

    r1081 r1085  
    776776    pe = mNDBlock.Begin()+Offset(ax,j);
    777777    offa = a.Offset(ax,j);
     778#if !defined(__GNUG__)
     779    for(k=0, ka=0;  k<gpas;  k+=step, ka+=stepa)  pe[k] = (T)a.ValueAtPosition(offa+ka);
     780#else
     781    // g++ (up to 2.95.1) se melange les pinceaux  s'il y a le cast (T) pour l'instanciation des complexes
    778782    for(k=0, ka=0;  k<gpas;  k+=step, ka+=stepa)  pe[k] = a.ValueAtPosition(offa+ka);
     783#endif
    779784  }
    780785  return(*this);
Note: See TracChangeset for help on using the changeset viewer.