Ignore:
Timestamp:
05/19/16 09:09:21 (6 years ago)
Author:
ymipsl
Message:

bug fix in remaping : segfault occur when process does'nt have cells

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/extern/remap/src/parallel_tree.cpp

    r852 r853  
    299299  assert( nbTot > nbSampleNodes*commSize) ; 
    300300     
    301   int nbSampleNodes1 = nbSampleNodes * (nb1*commSize)/(1.*nbTot) +1 ; 
    302   int nbSampleNodes2 = nbSampleNodes * (nb2*commSize)/(1.*nbTot) +1 ; 
     301  int nbSampleNodes1 = nbSampleNodes * (nb1*commSize)/(1.*nbTot) ; 
     302  int nbSampleNodes2 = nbSampleNodes * (nb2*commSize)/(1.*nbTot) ; 
    303303   
    304304 
Note: See TracChangeset for help on using the changeset viewer.