We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0517b7 commit cbe47deCopy full SHA for cbe47de
pysindy/feature_library/weak_pde_library.py
@@ -723,13 +723,13 @@ def derivative_string(multiindex):
723
# Include mixed non-derivative + integral terms
724
if self.include_interaction:
725
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):
+ for jj in range(n_features):
+ for i, f in enumerate(self.functions):
+ for c in self._combinations(
+ n_features,
+ f.__code__.co_argcount,
+ self.interaction_only,
+ ):
733
feature_names.append(
734
self.function_names[i](
735
*[input_features[j] for j in c]
0 commit comments