- Timestamp:
- 05/05/10 20:51:26 (15 years ago)
- Location:
- library/bdm
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/base/datasources.cpp
r910 r924 44 44 // DS::validate() has to be called after the dtsize attribute is set to proper value 45 45 DS::validate(); 46 log_level[logut]=0; 46 47 } 47 48 -
library/bdm/base/datasources.h
r910 r924 53 53 void set_drv ( const RV &drv, const RV &urv ) 54 54 { 55 if (urv._dsize()>0){ 55 56 bdm_error ( "MemDS::urv is not supported" ); 57 } else { 58 DS::set_drv(drv,urv); 59 } 60 56 61 } 57 62 58 63 void write ( const vec &ut ) { 59 bdm_error ( "MemDS::write is not supported" ); 64 if (ut.size()>0){ 65 bdm_error ( "MemDS::write is not supported" ); 66 } 60 67 } 61 68 62 69 void write ( const vec &ut, const ivec &indices ) { 63 bdm_error ( "MemDS::write is not supported" ); 70 if (ut.size()>0){ 71 bdm_error ( "MemDS::write is not supported" ); 72 } 64 73 } 65 74 -
library/bdm/stat/exp_family.h
r907 r924 1071 1071 1072 1072 set_parameters ( g, R ); 1073 validate();1073 //validate(); 1074 1074 } 1075 1075 void validate() { 1076 bdm_assert ( g->dimension() == this->dimension(), "incompatible function" ); 1076 this->iepdf.validate(); 1077 bdm_assert ( g->dimension() == this->iepdf.dimension(), "incompatible function" ); 1077 1078 this->dim = g->dimension(); 1078 1079 this->dimc = g->dimensionc();