Skip to content

Commit

Permalink
Merge pull request #154 from ThomasCOConnor/master
Browse files Browse the repository at this point in the history
bugfix - added missing _ to n_input_features_ in pde_library and weak_pde_library
  • Loading branch information
akaptano committed Jan 20, 2022
2 parents b864abd + 660e56b commit 0949045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysindy/feature_library/weak_pde_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def get_feature_names(self, input_features=None):
if float(__version__[:3]) >= 1.0:
n_features = self.n_features_in_
else:
n_features = self.n_input_features
n_features = self.n_input_features_
if input_features is None:
input_features = ["x%d" % i for i in range(n_features)]
if self.function_names is None:
Expand Down

0 comments on commit 0949045

Please sign in to comment.