BUG: interpolationTable: construct from fileName

This commit is contained in:
mattijs
2011-10-07 15:49:27 +01:00
parent f5573332a8
commit 93fa2893d7

View File

@ -88,7 +88,7 @@ Foam::interpolationTable<Type>::interpolationTable(const fileName& fName)
List<Tuple2<scalar, Type> >(), List<Tuple2<scalar, Type> >(),
boundsHandling_(interpolationTable::WARN), boundsHandling_(interpolationTable::WARN),
fileName_(fName), fileName_(fName),
reader_(new openFoamTableReader<Type>()) reader_(new openFoamTableReader<Type>(dictionary()))
{ {
readTable(); readTable();
} }