Commit 27dc56ed authored by graham's avatar graham
Browse files

BUG: fixedValue pdf returning +-VGREAT for min/maxValue() -should be value_ surely?

parent 8b4d3ac1
......@@ -62,13 +62,13 @@ Foam::scalar Foam::pdfs::fixedValue::fixedValue::sample() const
Foam::scalar Foam::pdfs::fixedValue::fixedValue::minValue() const
{
return -VGREAT;
return value_;
}
Foam::scalar Foam::pdfs::fixedValue::fixedValue::maxValue() const
{
return VGREAT;
return value_;
}
......
......@@ -77,7 +77,7 @@ protected:
//- Coefficients dictionary
const dictionary pdfDict_;
//- Reference to the randmo number generator
//- Reference to the random number generator
Random& rndGen_;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment