COMP: Resolved a couple of compiler warnings

This commit is contained in:
Andrew Heather
2019-06-24 13:52:57 +01:00
parent 40401ccbd0
commit e990c48bee
2 changed files with 2 additions and 2 deletions

View File

@ -575,7 +575,7 @@ bool Foam::cellCellStencils::trackingInverseDistance::update()
DebugInfo<< FUNCTION_NAME << " : Moved zone sub-meshes" << endl;
// Calculate fast search structure for each zone
List<labelVector> searchBoxDivisions(dict_["searchBoxDivisions"]);
List<labelVector> searchBoxDivisions(dict_.lookup("searchBoxDivisions"));
if (searchBoxDivisions.size() != nZones)
{
FatalIOErrorInFunction(dict_) << "Number of searchBoxDivisions "

View File

@ -173,7 +173,7 @@ void Foam::oversetFvPatchField<Type>::initEvaluate
{
const dictionary* dictPtr
(
fvSchemes.subDictPtr("oversetInterpolationSuppressed")
fvSchemes.findDict("oversetInterpolationSuppressed")
);
const wordHashSet& suppress =