Changeset 612
- Timestamp:
- 09/13/09 23:14:28 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/stat/exp_family.h
r604 r612 490 490 void set_parameters (const vec &low0, const vec &high0) { 491 491 distance = high0 - low0; 492 bdm_assert_debug (min (distance) > 0.0, "bad support");493 492 low = low0; 494 493 high = high0; … … 525 524 UI::get (high, set, "high", UI::compulsory); 526 525 UI::get (low, set, "low", UI::compulsory); 527 } 528 }; 529 526 set_parameters(low,high); 527 validate(); 528 } 529 void validate() { 530 bdm_assert(high.length()==low.length(), "Incompatible high and low vectors"); 531 dim = high.length(); 532 bdm_assert_debug (min (distance) > 0.0, "bad support"); 533 } 534 }; 535 UIREGISTER(euni); 530 536 531 537 /*!