Skip to content

Commit

Permalink
Merge pull request #259 from SCLiao47/FixingTrappingTensor
Browse files Browse the repository at this point in the history
Update PL_unsym tensor in trapping_sr3.py
  • Loading branch information
akaptano committed Oct 24, 2022
2 parents bc131d9 + 1d183b9 commit 1e1b9bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysindy/optimizers/trapping_sr3.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def _set_Ptensors(self, r):
for j in range(r):
for k in range(r):
for kk in range(N):
if i == kk and j == k:
if i == k and j == kk:
PL_tensor_unsym[i, j, k, kk] = 1.0

# Now symmetrize PL
Expand Down

0 comments on commit 1e1b9bd

Please sign in to comment.