mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
pre-proto - Added handling of case where fracture templates have been deleted.
This commit is contained in:
@@ -95,7 +95,8 @@ void RimSimWellFracture::setAzimuth()
|
||||
}
|
||||
else //Azimuth value read from template
|
||||
{
|
||||
azimuth = attachedFractureDefinition()->azimuthAngle;
|
||||
if (attachedFractureDefinition()) azimuth = attachedFractureDefinition()->azimuthAngle;
|
||||
else azimuth = 0.0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user