Skip to content

Commit

Permalink
ENH: deprecate SINDy.differentiate()
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Stevens-Haas committed Jul 11, 2023
1 parent a279e11 commit 9b5da85
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pysindy/pysindy.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,10 @@ def differentiate(self, x, t=None):
Time derivatives computed by using the model's differentiation
method
"""
warnings.warn(
"SINDy.differentiate is deprecated. "
"Call the differentiation_method parameter"
)
if t is None:
t = self.t_default
if self.discrete_time:
Expand Down

0 comments on commit 9b5da85

Please sign in to comment.