Skip to content

Commit

Permalink
Merge pull request dynamicslab#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 authored Oct 24, 2022
2 parents d195f04 + 8778dda commit 32286d5
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 32286d5

Please sign in to comment.