Index: Ringtoets/Piping/src/Ringtoets.Piping.IO/Builders/SoilLayer2D.cs =================================================================== diff -u -rd82fa09fe9ae053ce7702ba89ef23ae029640d1b -red0efdcfe1c041f58f65ac59a18c42bd1df9f1ff --- Ringtoets/Piping/src/Ringtoets.Piping.IO/Builders/SoilLayer2D.cs (.../SoilLayer2D.cs) (revision d82fa09fe9ae053ce7702ba89ef23ae029640d1b) +++ Ringtoets/Piping/src/Ringtoets.Piping.IO/Builders/SoilLayer2D.cs (.../SoilLayer2D.cs) (revision ed0efdcfe1c041f58f65ac59a18c42bd1df9f1ff) @@ -187,13 +187,13 @@ private double EnsureBottomOutsideInnerLoop(IEnumerable> innerLoopIntersectionHeightPairs, double bottom) { var newBottom = bottom; - var heigthPairArray = innerLoopIntersectionHeightPairs.ToList(); - var overlappingInnerLoop = heigthPairArray.FirstOrDefault(t => BottomInInnerLoop(t, newBottom)); + var heightPairArray = innerLoopIntersectionHeightPairs.ToList(); + var overlappingInnerLoop = heightPairArray.FirstOrDefault(t => BottomInInnerLoop(t, newBottom)); while (overlappingInnerLoop != null) { newBottom = overlappingInnerLoop.Item2; - overlappingInnerLoop = heigthPairArray.FirstOrDefault(t => BottomInInnerLoop(t, newBottom)); + overlappingInnerLoop = heightPairArray.FirstOrDefault(t => BottomInInnerLoop(t, newBottom)); } return newBottom; }