1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2025-06-20 16:26:54 +01:00

minor fixes

This commit is contained in:
2014-10-14 16:36:20 +01:00
parent 9e6bbd95c3
commit 89cf008fb8
5 changed files with 13 additions and 8 deletions

View File

@ -68,7 +68,10 @@ double TabFunction::operator()(const double *arg) const
if ((x < value_.begin()->first)||(x >= value_.rbegin()->first))
{
LATAN_ERROR(Range, "tabulated function variable out of range");
LATAN_ERROR(Range, "tabulated function variable out of range (x= "
+ strFrom(x) + " not in ["
+ strFrom(value_.begin()->first) + ", "
+ strFrom(value_.rbegin()->first) + "])");
}
auto i = value_.equal_range(x);

View File

@ -53,7 +53,7 @@ public:
const Index j = 0) const;
private:
DSample chi2_;
Index nDof_{0};
double nDof_{0.};
std::vector<DoubleFunctionSample> model_;
};