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
This is linked to PolicyEngine/policyengine-uk#928. In situations where a sim or microsim attempts to use microdf's MicroSeries class, rank method with an array of weights that equal 0, core should raise an error. This is because the rank method will attempt to divide by the sum of all values within the weights array, be unable to divide, and return an array of nan values.
The text was updated successfully, but these errors were encountered:
This is linked to PolicyEngine/policyengine-uk#928. In situations where a sim or microsim attempts to use
microdf
'sMicroSeries
class,rank
method with an array of weights that equal 0,core
should raise an error. This is because therank
method will attempt to divide by the sum of all values within the weights array, be unable to divide, and return an array ofnan
values.The text was updated successfully, but these errors were encountered: