Skip to content

Commit

Permalink
deprecate the ci argument as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Bernhardsson committed Apr 1, 2020
1 parent 8939dc1 commit fde63be
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions convoys/regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,8 @@ def __init__(self, mcmc=False, fix_k=None, fix_p=None, hierarchical=True,
self._hierarchical = hierarchical
self._flavor = flavor
if ci is not None:
warnings.warn('The `ci` argument is deprecated in 0.2.1 in favor '
' of `mcmc`.', DeprecationWarning)
self._mcmc = ci
raise Exception('This method has been removed in 0.3.0. '
'Use the `mcmc` argument instead.')

def fit(self, X, B, T, W=None):
'''Fits the model.
Expand Down

0 comments on commit fde63be

Please sign in to comment.