Show
Ignore:
Timestamp:
08/19/09 16:54:24 (15 years ago)
Author:
vbarta
Message:

using own error macros (basically copied from IT++, but never aborting)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/mex/mex_datasource.h

    r529 r565  
     1#include "../bdm/bdmerror.h" 
    12#include "../bdm/stat/datasources.h" 
    23#include "mex_parser.h" 
     
    3435                Data = mxArray2mat ( mexGetVariable ( "base", set["varname"] ) ); 
    3536                UI::get ( rowid, set, "rids" , UI::compulsory ); 
    36                 it_assert_debug ( max ( rowid ) <= Data.rows(), "MemDS rowid is too high for given Dat." ); 
     37                bdm_assert_debug ( max ( rowid ) <= Data.rows(), "MemDS rowid is too high for given Dat." ); 
    3738 
    3839                UI::get ( delays, set, "tds", UI::compulsory ); 
    3940                time = max ( delays ); 
    40                 it_assert_debug ( time < Data.cols(), "MemDS delays are too high." ); 
     41                bdm_assert_debug ( time < Data.cols(), "MemDS delays are too high." ); 
    4142 
    4243                shared_ptr<RV> r = UI::build<RV> ( set, "rv", UI::compulsory );