Skip to content

Commit

Permalink
Update pyqtorch/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Roland-djee <[email protected]>
  • Loading branch information
vytautas-a and RolandMacDoland authored Sep 2, 2024
1 parent a4f1d4a commit 1890d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyqtorch/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,6 @@ def is_parametric(operation: pyq.Sequence) -> bool:
params.append(m.param_name)

res = False
if any([isinstance(p, str) for p in params]):
if any(isinstance(p, str) for p in params):
res = True
return res

0 comments on commit 1890d27

Please sign in to comment.