Changeset 364

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

compile fixes

Location:
bdm
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • bdm/stat/libBM.h

    r359 r364  
    194194        // TODO dodelat void to_setting( Setting &root ) const; 
    195195}; 
    196  
     196UIREGISTER(RV); 
    197197 
    198198//! Concat two random variables 
  • 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    } 
  • bdm/user_info.h

    r363 r364  
    1818#ifndef BDMLIB  
    1919#define UIREGISTER(class_name) template<> const Particular_UI<class_name>& Particular_UI<class_name>::ui = Particular_UI<class_name>(#class_name)  
     20#warning BDMLIB-defined 
    2021#else 
    2122#define UIREGISTER(class_name) 
     23#warning BDMLIB-empty 
    2224#endif 
    2325 
     
    326328        //! default constructor, which is intentionally declared as private 
    327329        Particular_UI<T>( const string &class_name) : UI( class_name, &typeid(T) )  
    328         {        
     330        {       cout << class_name << endl; 
    329331        }; 
    330332