Index: Ringtoets/Common/src/Ringtoets.Common.Data/Contribution/FailureMechanismContribution.cs =================================================================== diff -u -r7e18d72b65e2041b1493dca3bd0b722d1fa5a664 -recf136a787efcd5d3f171f8aee8930f84a89e80a --- Ringtoets/Common/src/Ringtoets.Common.Data/Contribution/FailureMechanismContribution.cs (.../FailureMechanismContribution.cs) (revision 7e18d72b65e2041b1493dca3bd0b722d1fa5a664) +++ Ringtoets/Common/src/Ringtoets.Common.Data/Contribution/FailureMechanismContribution.cs (.../FailureMechanismContribution.cs) (revision ecf136a787efcd5d3f171f8aee8930f84a89e80a) @@ -34,7 +34,7 @@ public class FailureMechanismContribution : Observable { private readonly ICollection distribution = new List(); - private int norm; + private double norm; /// /// Creates a new instance of . Values are taken from the @@ -44,15 +44,16 @@ /// The of on which to base /// the . /// The collective contribution for other failure mechanisms. - /// The norm defined on a assessment section. + /// The norm defined on the assessment section. + /// Thrown when is null. /// Thrown when: /// /// any of the has a value for not in the interval [0, 100]. /// the value of is not in the interval [0, 100] /// /// - /// Thrown when is null. - public FailureMechanismContribution(IEnumerable failureMechanisms, double otherContribution, int norm) + /// Thrown when is not in the interval (0.0, 1.0) and is not . + public FailureMechanismContribution(IEnumerable failureMechanisms, double otherContribution, double norm) { Norm = norm; UpdateContributions(failureMechanisms, otherContribution); @@ -62,7 +63,7 @@ /// Gets or sets the norm which has been defined on the assessment section. /// /// Thrown when the new value is lower than or equal to 0. - public int Norm + public double Norm { get {