Changeset 1021

Show
Ignore:
Timestamp:
05/28/10 22:51:05 (14 years ago)
Author:
smidl
Message:

SEVERE bug in RV found and corrected.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/base/bdmbase.cpp

    r1009 r1021  
    3232        str2int_map::const_iterator iter = MAP.find ( name ); 
    3333        if ( iter == MAP.end() || name.length() == 0 ) { //add new RV 
    34                 id = MAP.size() + 1; 
     34                id = NAMES.size() + 1; // MAP may be shorter due to empty strings!! 
    3535 
    3636                MAP.insert ( make_pair ( name, id ) ); //add new rv