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
Fix StudentTCopula DF validation and harden download tests against outages
StudentTCopula: DegreesOfFreedom setter no longer throws — it sets
_parametersValid via the new ValidateParameters(rho, nu) and constructors follow suit. ValidateParameter now delegates to ValidateParameters so the base Theta setter validates both parameters. Unify the ν minimum on 2 + 1e-10 across ParameterConstraints and SetCopulaParameters; the previous 2.0 + Tools.DoubleMachineEpsilon expression silently rounded to 2.0 in IEEE 754 (ULP at 2.0 is 2^-51, larger than eps = 2^-53), making the optimizer fail at the boundary. Tests updated for the int→double widening and the new minimum.
Test_TimeSeriesDownload: add per-service AvailableAsync probes (CHMN, USGS, GHCN, BOM) memoized via ConcurrentDictionary<string, Lazy<Task<bool>>>; replace
`Online()` in all 31 integration tests so an upstream outage skips cleanly
instead of failing CI. BOM URLs switched to https and 5xx response bodies are now surfaced in the exception so the next outage is self-documenting.
if(throwException)thrownewArgumentOutOfRangeException(nameof(Theta),"The correlation parameter ρ (rho) must be greater than "+ThetaMinimum.ToString()+".");
186
195
returnnewArgumentOutOfRangeException(nameof(Theta),"The correlation parameter ρ (rho) must be greater than "+ThetaMinimum.ToString()+".");
187
196
}
188
-
if(parameter>ThetaMaximum)
197
+
if(rho>ThetaMaximum)
189
198
{
190
199
if(throwException)thrownewArgumentOutOfRangeException(nameof(Theta),"The correlation parameter ρ (rho) must be less than "+ThetaMaximum.ToString()+".");
191
200
returnnewArgumentOutOfRangeException(nameof(Theta),"The correlation parameter ρ (rho) must be less than "+ThetaMaximum.ToString()+".");
0 commit comments