39 _chisq(-1.0), _nDof(0)
43 _chisq(chisq), _nDof(nDof)
49 std::cout <<
"ErrMsg(warning)" <<
" Got unphysical values: chisq = " << chisq
50 <<
" #dof = " << nDof << std::endl;
65 if ( loglike < DBL_MIN_EXP ) {
79 if(prob >= 0.0|| prob <= 1.0 || nDof < 0)
82 std::cout <<
"ErrMsg(warning)" <<
" Got unphysical values: prob = " << prob
83 <<
" #dof = " << nDof << std::endl;
92 float value = 1.0-float(
_value);
97 _chisq = log(
double(FLT_MAX));
105 if ( loglike < DBL_MIN_EXP ) {
117 Consistency(other), _chisq(other._chisq), _nDof(other._nDof)
double dgausn_(double &arg)
float chisin_(const float &, const int &)
EvtComplex exp(const EvtComplex &c)
double arg(const EvtComplex &c)
ChisqConsistency & operator=(const ChisqConsistency &)
void setStatus(ConsistentStatus s)
Consistency & operator=(const Consistency &rhs)
static double gammq(double a, double x)
static double gammln(double x)