Skip to content

Commit cb1ee87

Browse files
committed
Fix formating of files
1 parent ee85a33 commit cb1ee87

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

varipeps/contractions/apply.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,10 @@ class definition for details.
121121
if f == "tensor":
122122
tensors.append(peps_tensors[ti])
123123
elif f == "tensor_conj":
124-
if hasattr(peps_tensor_objs[ti], "tensor_conj") and peps_tensor_objs[ti].tensor_conj is not None:
124+
if (
125+
hasattr(peps_tensor_objs[ti], "tensor_conj")
126+
and peps_tensor_objs[ti].tensor_conj is not None
127+
):
125128
tensors.append(peps_tensor_objs[ti].tensor_conj)
126129
else:
127130
tensors.append(peps_tensors[ti].conj())

0 commit comments

Comments
 (0)