Changeset 1079 for library/bdm/stat/exp_family.cpp
- Timestamp:
- 06/10/10 21:54:57 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/stat/exp_family.cpp
r1068 r1079 323 323 } 324 324 mat Vful; 325 if (!UI::get(V, set, "V", UI::optional)) { 326 if ( !UI::get ( Vful, set, "V", UI::optional ) ) { 325 if (set.exists("V.L")){ 326 UI::get(V, set, "V", UI::optional); 327 } else { 328 if ( !UI::get ( Vful, set, "fV", UI::optional ) ) { 327 329 vec dV; 328 330 UI::get ( dV, set, "dV", UI::compulsory ); … … 346 348 nPsi = V.rows() - dimx; 347 349 dim = dimx * ( dimx + nPsi ); 348 350 if (dim<dimx) {bdm_error("Check if matrix V has correct dimension");} 351 349 352 if ( nu < 0 ) { 350 353 nu = 0.1 + nPsi + 2 * dimx + 2; // +2 assures finite expected value of R