Show
Ignore:
Timestamp:
07/02/09 22:16:05 (15 years ago)
Author:
smidl
Message:

Change in epdf: evallog returns -inf for points out of support. Merger is aware of it now.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/base/bdmbase.h

    r395 r404  
    265265  virtual mat sample_m(int N) const; 
    266266  //! Compute log-probability of argument \c val 
     267  //! In case the argument is out of suport return -Infinity 
    267268  virtual double evallog(const vec &val) const {it_error("not implemneted"); return 0.0;}; 
    268269  //! Compute log-probability of multiple values argument \c val 
     
    381382    this->condition(cond); 
    382383    tmp = ep->evallog(dt); 
    383     it_assert_debug(std::isfinite(tmp), "Infinite value"); 
     384 //   it_assert_debug(std::isfinite(tmp), "Infinite value"); 
    384385    return tmp; 
    385386  };