Skip to content

Commit

Permalink
Nonstrict zip
Browse files Browse the repository at this point in the history
  • Loading branch information
dallan-keylogic committed Apr 11, 2024
1 parent 6a46229 commit 5e4da39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion idaes/core/util/model_diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -3674,7 +3674,7 @@ def check_parallel_jacobian(model, tolerance: float = 1e-4, direction: str = "ro
# List to store pairs of parallel components
parallel = []

for row, col, val in zip(*find(upper_tri), strict=True):
for row, col, val in zip(*find(upper_tri)):
if row == col:
# A vector is parallel to itself
continue
Expand Down

0 comments on commit 5e4da39

Please sign in to comment.