OpenHydrology / lmoments3

Estimate linear moments for statistical distribution functions
GNU General Public License v3.0
37 stars 16 forks source link

Adapt to changes in scipy 1.9 #13

Closed aulemahal closed 1 year ago

aulemahal commented 2 years ago

Scipy 1.9, with its PR scipy/scipy#15794, introduced a split between the discrete and continuous versions of the rv_frozen class It wasn't mentionned in the release notes I think, I am guessing they consider this API as private?

Anyway, this minor change solves the issue and makes lmoments3 work with scipy 1.9 and above, without breaking it for previous versions.

Zeitsperre commented 2 years ago

@neilnutt

Hi there, I was wondering if there is anything preventing this from being accepted. Please let us know.

Thanks!