mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: fixedValue pdf returning +-VGREAT for min/maxValue() -should be value_ surely?
This commit is contained in:
@ -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_;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user