Commit e990c48b authored by Andrew Heather's avatar Andrew Heather
Browse files

COMP: Resolved a couple of compiler warnings

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