Index: Ringtoets/Common/src/Ringtoets.Common.Data/Structures/StructuresInputBase.cs =================================================================== diff -u -rae3d59f77b1e2f9ab9d961704b9457867e8f58ee -r15ead312ec6f70a6f5b3fd75a01b2735cca3e616 --- Ringtoets/Common/src/Ringtoets.Common.Data/Structures/StructuresInputBase.cs (.../StructuresInputBase.cs) (revision ae3d59f77b1e2f9ab9d961704b9457867e8f58ee) +++ Ringtoets/Common/src/Ringtoets.Common.Data/Structures/StructuresInputBase.cs (.../StructuresInputBase.cs) (revision 15ead312ec6f70a6f5b3fd75a01b2735cca3e616) @@ -186,12 +186,12 @@ } set { - RoundedDouble newOrientationValue = value.ToPrecision(structureNormalOrientation.NumberOfDecimalPlaces); - if (!double.IsNaN(newOrientationValue) && (newOrientationValue < 0 || newOrientationValue > 360)) + RoundedDouble newStructureNormalOrientation = value.ToPrecision(structureNormalOrientation.NumberOfDecimalPlaces); + if (!double.IsNaN(newStructureNormalOrientation) && (newStructureNormalOrientation < 0 || newStructureNormalOrientation > 360)) { throw new ArgumentOutOfRangeException("value", Resources.Orientation_Value_needs_to_be_between_0_and_360); } - structureNormalOrientation = newOrientationValue; + structureNormalOrientation = newStructureNormalOrientation; } }