Changeset 3740 in Sophya


Ignore:
Timestamp:
Feb 8, 2010, 11:45:19 AM (16 years ago)
Author:
cmv
Message:

bug avec SetMemoryMapping, cmv+rz 08/02/2010

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/LinAlg/intflapack.cc

    r3619 r3740  
    641641
    642642  { // Use {} for automatic des-allocation of "bsave"
    643   TMatrix<T> bsave(m,nrhs); bsave.SetMemoryMapping(BaseArray::FortranMemoryMapping);
    644   bsave = b;
     643  TMatrix<T> bsave = b;
    645644  b.ReSize(maxmn,nrhs); b = (T) 0;
    646645  for(int i=0;i<m;i++) for(int j=0;j<nrhs;j++) b(i,j) = bsave(i,j);
    647646  } // Use {} for automatic des-allocation of "bsave"
    648647  s.ReSize(minmn);
    649  
     648
    650649  int_4 smlsiz = 25;  // Normallement ilaenv_en_C(9,...) renvoie toujours 25
    651650  if(typeid(T) == typeid(r_4) )               smlsiz = ilaenv_en_C(9,"SGELSD"," ",0,0,0,0);
Note: See TracChangeset for help on using the changeset viewer.