Show
Ignore:
Timestamp:
06/11/10 14:18:09 (14 years ago)
Author:
smidl
Message:

Mergers + fixes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/stat/exp_family.cpp

    r1079 r1083  
    415415 
    416416 
    417 double egamma::evallog ( const vec &val ) const { 
     417double egamma::evallog_nn ( const vec &val ) const { 
    418418    double res = 0.0; //the rest will be added 
    419419    int i; 
     
    424424        res += ( alpha ( i ) - 1 ) * std::log ( val ( i ) ) - beta ( i ) * val ( i ); 
    425425    } 
    426     double tmp = res - lognc();; 
    427     bdm_assert_debug ( std::isfinite ( tmp ), "Infinite value" ); 
    428     return tmp; 
     426    return res; 
    429427} 
    430428