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

This commit is contained in:
graham
2010-09-22 12:27:42 +01:00
parent 8b4d3ac1f5
commit 27dc56ed0d
2 changed files with 3 additions and 3 deletions

View File

@ -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_;
}

View File

@ -77,7 +77,7 @@ protected:
//- Coefficients dictionary
const dictionary pdfDict_;
//- Reference to the randmo number generator
//- Reference to the random number generator
Random& rndGen_;