From ccd6d920686069fc6b94bea9cbf6bb07068dd08e Mon Sep 17 00:00:00 2001 From: John Bogaardt Date: Mon, 27 Apr 2020 09:35:03 -0600 Subject: [PATCH] patch --- chainladder/core/triangle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chainladder/core/triangle.py b/chainladder/core/triangle.py index 462db828..e8a50fad 100644 --- a/chainladder/core/triangle.py +++ b/chainladder/core/triangle.py @@ -177,7 +177,7 @@ def link_ratio(self): obj.valuation = pd.DatetimeIndex( pd.DataFrame(val_array).unstack().values).to_period(self._lowest_grain()) if hasattr(obj, 'w_'): - obj = obj*obj.w_[..., :len(obj.odims), :] + obj = obj*obj.w_[..., 0:1, :len(obj.odims), :] return obj @property