diff --git a/chainladder/__init__.py b/chainladder/__init__.py index f9e7bf74..92e41d6c 100644 --- a/chainladder/__init__.py +++ b/chainladder/__init__.py @@ -42,4 +42,4 @@ def auto_sparse(auto_sparse=True): from chainladder.methods import * # noqa (API Import) from chainladder.workflow import * # noqa (API Import) -__version__ = "0.8.17" +__version__ = "0.9.0" diff --git a/chainladder/development/clark.py b/chainladder/development/clark.py index ed470e38..670a12af 100644 --- a/chainladder/development/clark.py +++ b/chainladder/development/clark.py @@ -184,7 +184,7 @@ def solver(x): x0 = xp.array([[[[1.0, age_interval]]]]) bounds = ((1e-6, None), (1e-6, None)) idx_params.append( - minimize(fun=solver, x0=x0, bounds=bounds).x.reshape(1, 1, 1, -1) + minimize(fun=solver, x0=x0.flatten(), bounds=bounds).x.reshape(1, 1, 1, -1) ) params.append(xp.concatenate(idx_params, axis=1)) params = xp.concatenate(params, axis=0) diff --git a/setup.py b/setup.py index d5b05204..52e385a6 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ descr = "Chainladder Package - P&C Loss Reserving package " name = 'chainladder' url = 'https://github.com/casact/chainladder-python' -version='0.8.17' # Put this in __init__.py +version='0.9.0' # Put this in __init__.py data_path = '' setup(