Index: DamClients/DamUI/branches/DamUI 19.3/src/DamClientsLibrary/Deltares.Dam.Data/WaterBoardPostProcessRelativeProfiles.cs =================================================================== diff -u -r3767 -r3774 --- DamClients/DamUI/branches/DamUI 19.3/src/DamClientsLibrary/Deltares.Dam.Data/WaterBoardPostProcessRelativeProfiles.cs (.../WaterBoardPostProcessRelativeProfiles.cs) (revision 3767) +++ DamClients/DamUI/branches/DamUI 19.3/src/DamClientsLibrary/Deltares.Dam.Data/WaterBoardPostProcessRelativeProfiles.cs (.../WaterBoardPostProcessRelativeProfiles.cs) (revision 3774) @@ -48,6 +48,7 @@ /// public static void CreateAbsoluteProfiles(WaterBoard waterBoard, CharacteristicPointType characteristicPointType) { + const double moveAccuracy = 1e-6; foreach (Dike dike in waterBoard.Dikes) { foreach (Location location in dike.Locations) @@ -101,7 +102,7 @@ // If the top of the profile is moved below the top of the surface level, a gap appears which will be filled in later in the UI // to the combined 2D. However, for Piping calculation the 1D profile itself needs to start at least at the top of the surface line // too in order to perform a correct calculation. So extend the 1D profile here too! - if (Math.Abs(deltaZ) > 1e-6 && profileTopLevel < topSurfaceline) + if (Math.Abs(deltaZ) > moveAccuracy && profileTopLevel < topSurfaceline) { var newTopLayer = new SoilLayer1D {