Skip to content

Commit cbe47de

Browse files
committed
fixed weak feature name bug
1 parent d0517b7 commit cbe47de

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pysindy/feature_library/weak_pde_library.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -723,13 +723,13 @@ def derivative_string(multiindex):
723723
# Include mixed non-derivative + integral terms
724724
if self.include_interaction:
725725
for k in range(self.num_derivatives):
726-
for i, f in enumerate(self.functions):
727-
for c in self._combinations(
728-
n_features,
729-
f.__code__.co_argcount,
730-
self.interaction_only,
731-
):
732-
for jj in range(n_features):
726+
for jj in range(n_features):
727+
for i, f in enumerate(self.functions):
728+
for c in self._combinations(
729+
n_features,
730+
f.__code__.co_argcount,
731+
self.interaction_only,
732+
):
733733
feature_names.append(
734734
self.function_names[i](
735735
*[input_features[j] for j in c]

0 commit comments

Comments
 (0)