Ignore:
Timestamp:
04/03/18 16:52:37 (6 years ago)
Author:
oabramkina
Message:

Trunk: few corrections in order to be in compliance with c++98 norms.

Compilation with PGI on curie: ok.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/context_client.cpp

    r1198 r1471  
    290290     for (std::map<int,StdSize>::const_iterator it = mapSize.begin(), ite = mapSize.end(); it != ite; ++it) 
    291291     { 
    292        double ratio = double(it->second) / maxEventSize.at(it->first); 
     292       double ratio = double(it->second) / maxEventSizes[it->first]; 
    293293       if (ratio < minBufferSizeEventSizeRatio) minBufferSizeEventSizeRatio = ratio; 
    294294     } 
Note: See TracChangeset for help on using the changeset viewer.