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

BUG: boundaryRadiationProperties - check ptr exists before using

parent c3b0742e
Branches
Tags
No related merge requests found
......@@ -91,7 +91,7 @@ Foam::radiation::boundaryRadiationProperties::boundaryRadiationProperties
const auto* ePtr = radiationDict.findEntry(pp.name());
if (ePtr->isDict())
if (ePtr && ePtr->isDict())
{
radBoundaryPropertiesPtrList_.set
(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment