Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Data/HeightStructuresInput.cs =================================================================== diff -u -r7a6c07ce4fcb7887319744836e0b513709187445 -rd8060bb8ac069ffc11a45d46814ca9387bbe7230 --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Data/HeightStructuresInput.cs (.../HeightStructuresInput.cs) (revision 7a6c07ce4fcb7887319744836e0b513709187445) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Data/HeightStructuresInput.cs (.../HeightStructuresInput.cs) (revision d8060bb8ac069ffc11a45d46814ca9387bbe7230) @@ -40,13 +40,10 @@ /// public HeightStructuresInput() { - levelCrestStructure = new NormalDistribution(2) - { - Mean = RoundedDouble.NaN, - StandardDeviation = (RoundedDouble) 0.05 - }; - + levelCrestStructure = new NormalDistribution(2); deviationWaveDirection = new RoundedDouble(2); + + SetDefaultSchematizationProperties(); } #region Hydraulic data @@ -108,6 +105,19 @@ StorageStructureArea = Structure.StorageStructureArea; AllowedLevelIncreaseStorage = Structure.AllowedLevelIncreaseStorage; } + else + { + SetDefaultSchematizationProperties(); + } } + + private void SetDefaultSchematizationProperties() + { + LevelCrestStructure = new NormalDistribution + { + Mean = RoundedDouble.NaN, + StandardDeviation = (RoundedDouble) 0.05 + }; + } } } \ No newline at end of file