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 the first part of a sample has very low scale, and the second part a larger scale, issues happen with HistogramFactory::build.
When the sample size is small, build does not return.
When the sample size is large, it produces a std::bad_alloc error.
How to reproduce the issue?
import openturns as ot
sample = ot.Uniform(-1e-10, 1e-10).getSample(100) # use sample size 10 to get the no return problem
sample2 = ot.Uniform(-1, 1).getSample(5)
sample.add(sample2)
hf = ot.HistogramFactory()
hf.build(sample)
Version
master
Operating System
Linux
Installation media
from source
Additional Context
No response
The text was updated successfully, but these errors were encountered:
in that case the bandwith computed with the default Freedman and Diaconis bandwith rule, and is small (~1e-10) wrt the range resulting in a huge binNumber (14482017289):
What happened?
When the first part of a sample has very low scale, and the second part a larger scale, issues happen with HistogramFactory::build.
How to reproduce the issue?
Version
master
Operating System
Linux
Installation media
from source
Additional Context
No response
The text was updated successfully, but these errors were encountered: