Index: Ringtoets/Revetment/src/Ringtoets.Revetment.Data/WaveConditionsInputExtensions.cs
===================================================================
diff -u -r8603f868116222b363f719ecea30b99685a8ec76 -r2b25b42f942a848809238e2059d1ee4156e3c1f8
--- Ringtoets/Revetment/src/Ringtoets.Revetment.Data/WaveConditionsInputExtensions.cs (.../WaveConditionsInputExtensions.cs) (revision 8603f868116222b363f719ecea30b99685a8ec76)
+++ Ringtoets/Revetment/src/Ringtoets.Revetment.Data/WaveConditionsInputExtensions.cs (.../WaveConditionsInputExtensions.cs) (revision 2b25b42f942a848809238e2059d1ee4156e3c1f8)
@@ -34,11 +34,11 @@
/// Gets the water levels to perform a wave conditions calculation for.
///
/// The wave conditions input.
- /// The upper boundary design water level to use.
+ /// The assessment level to use.
/// An containing water levels.
/// Thrown when is null.
public static IEnumerable GetWaterLevels(this WaveConditionsInput waveConditionsInput,
- RoundedDouble upperBoundaryDesignWaterLevel)
+ RoundedDouble assessmentLevel)
{
if (waveConditionsInput == null)
{
@@ -47,7 +47,7 @@
var waterLevels = new List();
- var upperBoundary = new RoundedDouble(2, Math.Min(upperBoundaryDesignWaterLevel,
+ var upperBoundary = new RoundedDouble(2, Math.Min(WaveConditionsInputHelper.GetUpperBoundaryDesignWaterLevel(assessmentLevel),
Math.Min(waveConditionsInput.UpperBoundaryRevetment,
!double.IsNaN(waveConditionsInput.UpperBoundaryWaterLevels)
? waveConditionsInput.UpperBoundaryWaterLevels