Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Service/GrassCoverErosionInwardsCalculationService.cs =================================================================== diff -u -r3d9b418d483c122040e11a7e074d666c64e9d7b5 -r4f11123aadb507f2ae9093b614360ab1973edd6e --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Service/GrassCoverErosionInwardsCalculationService.cs (.../GrassCoverErosionInwardsCalculationService.cs) (revision 3d9b418d483c122040e11a7e074d666c64e9d7b5) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Service/GrassCoverErosionInwardsCalculationService.cs (.../GrassCoverErosionInwardsCalculationService.cs) (revision 4f11123aadb507f2ae9093b614360ab1973edd6e) @@ -127,7 +127,7 @@ private static IEnumerable ParseForeshore(GrassCoverErosionInwardsInput input) { - return input.ForeshoreGeometry.Select(c => new HydraRingForelandPoint(c.X, c.Y)); + return input.UseForeshore ? input.ForeshoreGeometry.Select(c => new HydraRingForelandPoint(c.X, c.Y)) : new HydraRingForelandPoint[0]; } private static IEnumerable ParseProfilePoints(RoughnessPoint[] roughnessProfilePoints)