Index: Ringtoets/Piping/src/Ringtoets.Piping.Data/DerivedPipingInput.cs =================================================================== diff -u -r5b8f476716cb75977616203318fa250f608fe7a5 -rc33fbb6a840ef596c665774b609f82b948f3b512 --- Ringtoets/Piping/src/Ringtoets.Piping.Data/DerivedPipingInput.cs (.../DerivedPipingInput.cs) (revision 5b8f476716cb75977616203318fa250f608fe7a5) +++ Ringtoets/Piping/src/Ringtoets.Piping.Data/DerivedPipingInput.cs (.../DerivedPipingInput.cs) (revision c33fbb6a840ef596c665774b609f82b948f3b512) @@ -87,17 +87,10 @@ { LogNormalDistribution seepageLength = new LogNormalDistribution(2); double seepageLengthMean = input.ExitPointL - input.EntryPointL; - if (seepageLengthMean > 0) - { - seepageLength.Mean = (RoundedDouble) seepageLengthMean; - seepageLength.StandardDeviation = (RoundedDouble) seepageLengthMean*seepageLengthStandardDeviationFraction; - } - else - { - seepageLength.Mean = (RoundedDouble) double.NaN; - seepageLength.StandardDeviation = (RoundedDouble) double.NaN; - } + seepageLength.Mean = (RoundedDouble) seepageLengthMean; + seepageLength.StandardDeviation = (RoundedDouble) seepageLengthMean*seepageLengthStandardDeviationFraction; + return seepageLength; } } @@ -176,10 +169,6 @@ var zAtL = surfaceLine.GetZAtL(exitPointL); return soilProfile.GetTopmostConsecutiveAquiferLayerThicknessBelowLevel(zAtL); } - catch (ArgumentOutOfRangeException) - { - return double.NaN; - } catch (ArgumentException) { return double.NaN; @@ -190,7 +179,12 @@ { try { - thicknessCoverageLayer.Mean = (RoundedDouble) InputParameterCalculationService.CalculateThicknessCoverageLayer(input.WaterVolumetricWeight, PipingSemiProbabilisticDesignValueFactory.GetPhreaticLevelExit(input).GetDesignValue(), input.ExitPointL, input.SurfaceLine, input.StochasticSoilProfile.SoilProfile); + thicknessCoverageLayer.Mean = (RoundedDouble) InputParameterCalculationService.CalculateThicknessCoverageLayer( + input.WaterVolumetricWeight, + PipingSemiProbabilisticDesignValueFactory.GetPhreaticLevelExit(input).GetDesignValue(), + input.ExitPointL, + input.SurfaceLine, + input.StochasticSoilProfile.SoilProfile); } catch (ArgumentOutOfRangeException) {