Skip to content
Snippets Groups Projects
Commit cef8fc8d authored by Andrew Heather's avatar Andrew Heather
Browse files

COMP: Resolved a couple of compiler warnings

parent 15e0583c
Branches
Tags
No related merge requests found
......@@ -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 =
......
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