Skip to content

Commit

Permalink
secondary_rank is not used at all, no tests failed
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethshsu committed May 17, 2024
1 parent eef91e6 commit 7d60060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chainladder/development/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def _param_array_helper(self, size, param, default_value):
param_array = param_array.astype(type(default_value))
return param_array.to_numpy()

def _set_weight_func(self, factor):
def _set_weight_func(self, factor, secondary_rank=None):
w = (~np.isnan(factor.values)).astype(float)
w = w * self._assign_n_periods_weight_func(factor)

Expand Down

0 comments on commit 7d60060

Please sign in to comment.