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
When calling UncertaintyCorrelation with predictive distributions that have constant uncertainty, value varSigma (line 131 in Merit.scala) is zero, leading to denominator being zero. As the numerator is also zero, not-a-number (nan) is returned.
This behaviour seems undesirable. I suggest throwing an exception to signal the problem instead of silently inserting nan into calculations.
The text was updated successfully, but these errors were encountered:
When calling
UncertaintyCorrelation
with predictive distributions that have constant uncertainty, valuevarSigma
(line 131 inMerit.scala
) is zero, leading to denominator being zero. As the numerator is also zero, not-a-number (nan
) is returned.This behaviour seems undesirable. I suggest throwing an exception to signal the problem instead of silently inserting
nan
into calculations.The text was updated successfully, but these errors were encountered: