- Timestamp:
- 01/29/10 01:13:17 (15 years ago)
- Location:
- library
- Files:
-
- 6 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/base/bdmbase.h
r792 r795 504 504 epdf() {}; 505 505 epdf ( const epdf &e ) : pdf ( e ) {}; 506 507 virtual void validate (int dim0){ 508 dim = dim0; 509 } 510 506 511 507 //!@} 512 508 -
library/bdm/base/datasources.cpp
r738 r795 162 162 UI::get ( xt, set, "x0", UI::optional ); 163 163 164 // prepare urv165 validate();166 164 } 167 165 168 166 void StateDS::validate() { 167 DS::validate(); 168 169 169 Yrv = concat ( OM->_rv() , IM->_rv() ); // export also true state 170 170 ytsize = Yrv._dsize(); -
library/bdm/base/datasources.h
r766 r795 150 150 set_drv ( iepdf->_rv(), RV() ); 151 151 utsize = 0; 152 validate();153 } 152 } 153 154 154 void validate() { 155 DS::validate(); 156 155 157 dt = iepdf->sample(); 156 158 } … … 237 239 utsize = ut.length(); 238 240 dtsize = ytsize + utsize; 239 validate();240 } 241 } 242 241 243 void validate() { 244 DS::validate(); 245 242 246 //taken from sample() - shift of history is not done here 243 247 ut2rgr.filldown ( ut, rgr ); -
library/bdm/base/user_info.h
r793 r795 349 349 throw; 350 350 } 351 352 // validate the new instance 353 instance->validate(); 351 354 } 352 355 … … 366 369 367 370 assert_type ( link.result, Setting::TypeList ); 371 368 372 369 373 int len = link.result.getLength(); -
library/bdm/stat/exp_family.h
r773 r795 1442 1442 n = w.length(); 1443 1443 if (n>0) 1444 epdf::validate ( samples ( 0 ).length());1444 pdf::dim = samples ( 0 ).length(); 1445 1445 } 1446 1446 //! Potentially dangerous, use with care. -
library/tests/testsuite/datasource_test.cpp
r723 r795 67 67 for ( int t = 1; t < 10; t++ ) { 68 68 sds.write ( vec_1 ( double ( t ) ) ); 69 // TODO ZDE TO SPADNE 69 70 sds.step(); 70 71 }