Show
Ignore:
Timestamp:
05/11/10 16:25:24 (14 years ago)
Author:
smidl
Message:

bdmtoolbox updated for new loggers

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/base/loggers.h

    r907 r933  
    5656                if ( id >= 0 ) { 
    5757                        vectors ( id ).set_row ( ind, v ); 
     58                } 
     59        } 
     60        void log_double ( int id, const double &d ) { 
     61                bdm_assert ( id < vectors.length(), "Logger was not initialized, run init()." ); 
     62                if ( id >= 0 ) { 
     63                        vectors ( id )( ind, 0 )=d; 
    5864                } 
    5965        }