You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b5ae6ff
Browse filesBrowse the repository at this point in the historyBrowse files
varexception=newArgumentOutOfRangeException(nameof(Theta),"The dependency parameter must be finite.");
88
+
if(throwException)throwexception;
89
+
returnexception;
90
+
}
85
91
if(parameter<ThetaMinimum)
86
92
{
87
93
if(throwException)thrownewArgumentOutOfRangeException(nameof(Theta),"The dependency parameter θ (theta) must be greater than or equal to "+ThetaMinimum.ToString()+".");
@@ -167,7 +173,7 @@ public override double[] InverseCDF(double u, double v)
varexception=newArgumentOutOfRangeException(nameof(Theta),"The dependency parameter must be finite.");
55
+
if(throwException)throwexception;
56
+
returnexception;
57
+
}
52
58
if(parameter<ThetaMinimum)
53
59
{
54
60
if(throwException)thrownewArgumentOutOfRangeException(nameof(Theta),"The dependency parameter θ (theta) must be greater than or equal to "+ThetaMinimum.ToString()+".");
@@ -60,7 +66,11 @@ public override void SetCopulaParameters(double[] parameters)
60
66
if(throwException)thrownewArgumentOutOfRangeException(nameof(Theta),"The dependency parameter θ (theta) must be less than or equal to "+ThetaMaximum.ToString()+".");
61
67
returnnewArgumentOutOfRangeException(nameof(Theta),"The dependency parameter θ (theta) must be less than or equal to "+ThetaMaximum.ToString()+".");
62
68
}
63
-
returnnewArgumentOutOfRangeException(nameof(Theta),"Parameter is valid");
69
+
// A valid parameter must return null: the Theta setter derives ParametersValid
70
+
// from 'ValidateParameter(value, false) is null', so returning a sentinel
71
+
// exception here left ParametersValid permanently false for every Archimedean
72
+
// family that did not override this method (Clayton, Gumbel, Joe).
0 commit comments