mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Checking range of Tmin and Tmax. Fixes #2506
This commit is contained in:
@ -37,7 +37,7 @@ inline Foam::label Foam::nonUniformTable::index
|
||||
) const
|
||||
{
|
||||
scalar nd = 0;
|
||||
if (T > Trange_.min() || T < Trange_.max())
|
||||
if (T > Trange_.min() && T < Trange_.max())
|
||||
{
|
||||
nd = (T - Trange_.min())/deltaT_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user