Changeset 590


Ignore:
Timestamp:
04/24/15 16:39:04 (7 years ago)
Author:
rlacroix
Message:

Fix: The computed size of the field data was off by one.

The problem caused no crash thanks to the safety coefficient applied when computing the buffer sizes.

File:
1 edited

Legend:

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

    r587 r590  
    413413        { 
    414414          if (connectedDataSize_.end() == connectedDataSize_.find(serverRank)) 
    415             connectedDataSize_[serverRank] = 0; 
     415            connectedDataSize_[serverRank] = 1; 
    416416          else 
    417417            ++connectedDataSize_[serverRank]; 
Note: See TracChangeset for help on using the changeset viewer.