Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
John Bogaardt committed Sep 13, 2023
1 parent e405466 commit 9918309
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chainladder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion chainladder/development/clark.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 9918309

Please sign in to comment.