Commit 66931719 authored by mattijs's avatar mattijs
Browse files

BUG: TableBase: repeat not handled

parent b92cc799
......@@ -363,7 +363,7 @@ Type Foam::TableBase<Type>::value(const scalar x) const
// Use interpolator
interpolator().valueWeights(x, currentIndices_, currentWeights_);
interpolator().valueWeights(xDash, currentIndices_, currentWeights_);
Type t = currentWeights_[0]*table_[currentIndices_[0]].second();
for (label i = 1; i < currentIndices_.size(); i++)
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