Changeset 959


Ignore:
Timestamp:
10/04/16 09:01:28 (5 years ago)
Author:
ymipsl
Message:

Fix bug introduced in rev 952 causing trouble for reading functionalities.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/field.cpp

    r957 r959  
    317317        msg << getNStep() - 1 << it->second; 
    318318      else 
    319         msg << size_t(-1); 
     319        msg << int(-1); 
    320320      event.push(it->first, grid->nbSenders[it->first], msg); 
    321321    } 
     
    375375  { 
    376376    CContext* context = CContext::getCurrent(); 
    377     StdSize record; 
     377    int record; 
    378378    std::map<int, CArray<double,1> > data; 
    379379 
     
    384384      int rank = ranks[i]; 
    385385      *buffers[i] >> record; 
    386       isEOF = (record == size_t(-1)); 
     386      isEOF = (record == int(-1)); 
    387387 
    388388      if (!isEOF) 
Note: See TracChangeset for help on using the changeset viewer.