Skip to content
Snippets Groups Projects
Commit 66931719 authored by mattijs's avatar mattijs
Browse files

BUG: TableBase: repeat not handled

parent b92cc799
No related branches found
No related tags found
No related merge requests found
...@@ -363,7 +363,7 @@ Type Foam::TableBase<Type>::value(const scalar x) const ...@@ -363,7 +363,7 @@ Type Foam::TableBase<Type>::value(const scalar x) const
} }
// Use interpolator // Use interpolator
interpolator().valueWeights(x, currentIndices_, currentWeights_); interpolator().valueWeights(xDash, currentIndices_, currentWeights_);
Type t = currentWeights_[0]*table_[currentIndices_[0]].second(); Type t = currentWeights_[0]*table_[currentIndices_[0]].second();
for (label i = 1; i < currentIndices_.size(); i++) for (label i = 1; i < currentIndices_.size(); i++)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment