Skip to content

Commit

Permalink
fix check_zero == -> =
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmgray committed Dec 18, 2024
1 parent 08430d9 commit 0fc6574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quimb/tensor/tensor_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -10436,7 +10436,7 @@ def full_simplify(

if check_zero == "auto":

Check warning on line 10437 in quimb/tensor/tensor_core.py

View check run for this annotation

Codecov / codecov/patch

quimb/tensor/tensor_core.py#L10437

Added line #L10437 was not covered by tests
# any method but R checks data entries anyway
check_zero == bool(set(seq) - {"R"})
check_zero = bool(set(seq) - {"R"})

Check warning on line 10439 in quimb/tensor/tensor_core.py

View check run for this annotation

Codecov / codecov/patch

quimb/tensor/tensor_core.py#L10439

Added line #L10439 was not covered by tests

tn.squeeze_(exclude=output_inds)

Expand Down

0 comments on commit 0fc6574

Please sign in to comment.