Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PropertyClasses/MacroStabilityInwardsStochasticSoilModelProperties.cs =================================================================== diff -u -r7b513e5e4b0d15ba13e161b4c5a2e1097f58b8fd -rb13759ad077f9e2b4104de000b5bdeafa9abe358 --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PropertyClasses/MacroStabilityInwardsStochasticSoilModelProperties.cs (.../MacroStabilityInwardsStochasticSoilModelProperties.cs) (revision 7b513e5e4b0d15ba13e161b4c5a2e1097f58b8fd) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/PropertyClasses/MacroStabilityInwardsStochasticSoilModelProperties.cs (.../MacroStabilityInwardsStochasticSoilModelProperties.cs) (revision b13759ad077f9e2b4104de000b5bdeafa9abe358) @@ -87,7 +87,7 @@ { get { - return data.StochasticSoilProfiles.Count > 0 + return data.StochasticSoilProfiles.Any() ? data.StochasticSoilProfiles.Select(ssp => new MacroStabilityInwardsStochasticSoilProfileProperties(ssp)).ToArray() : new MacroStabilityInwardsStochasticSoilProfileProperties[0]; }