BUG: corrected tableBase max-bounds check

This commit is contained in:
andy
2011-11-22 15:02:27 +00:00
parent fdee1a2786
commit bdeff26fc7

View File

@ -241,7 +241,7 @@ bool Foam::TableBase<Type>::checkMaxBounds
scalar& xDash scalar& xDash
) const ) const
{ {
if (x < table_.last().first()) if (x > table_.last().first())
{ {
switch (boundsHandling_) switch (boundsHandling_)
{ {