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
And in Curve.rebinned we can find following comment:
fixp doesn't have to be inside original domain.
As marked in code above #E1 and #E2 throw following exception:
...
>raiseValueError('in change_domain():''the old domain does not include the new one')
EValueError: inchange_domain():theolddomaindoesnotincludethenewonebeprof/curve.py:113: ValueError
If I comment out raise ValueError() in Curve.change_domain() tests work, no exceptions are thrown... And the above only happens when fixp is outside original domain.
The text was updated successfully, but these errors were encountered:
I think, we may have some inconsistency in
Curve.change_domain()
andCurve.rebinned()
.And in
Curve.rebinned
we can find following comment:As marked in code above
#E1
and#E2
throw following exception:If I comment out
raise ValueError()
inCurve.change_domain()
tests work, no exceptions are thrown... And the above only happens when fixp is outside original domain.The text was updated successfully, but these errors were encountered: