Changeset 364 for bdm/user_info.cpp

Show
Ignore:
Timestamp:
06/08/09 18:00:49 (15 years ago)
Author:
smidl
Message:

compile fixes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • bdm/user_info.cpp

    r363 r364  
    2828UI_File::UI_File ( const string &file_name ) 
    2929{ 
    30     setAutoConvert( true ); 
    3130    try 
    3231    { 
    3332        readFile( file_name.c_str()  ); 
     33        setAutoConvert( true ); 
    3434    } 
    3535    catch ( FileIOException f ) 
     
    385385            ui_error("a vector element has to be a number", root[0]); 
    386386 
    387         for ( int i=0; i < len; i++ ) 
    388             vector(i) = root[i]; 
     387        for ( int i=0; i < len; i++ ) { 
     388        double tmp= (root[i]); 
     389            vector(i) = tmp; 
     390} 
    389391        return; 
    390392    }