Skip to content

Commit 64d554b

Browse files
committed
Format & remove comment
1 parent 5c9334c commit 64d554b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/tensor_operations/matrix_decomposition.jl

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -355,16 +355,15 @@ function eigen(
355355
# <fermions>
356356
L_arrow_dir = Out
357357
if hasqns(A) && using_auto_fermion()
358-
# Make arrows of combined ITensor
359-
# match those of index sets
360-
# TODO: also support Out,Out and In,In cases?
361-
# I.e. through a R_arrow_dir variable?
358+
# Make arrows of combined ITensor match those of index sets
362359
if all(i -> dir(i) == Out, Lis) && all(i -> dir(i) == In, Ris)
363360
L_arrow_dir = Out
364361
elseif all(i -> dir(i) == In, Lis) && all(i -> dir(i) == Out, Ris)
365362
L_arrow_dir = In
366363
else
367-
error("With auto_fermion enabled, index sets in eigen must have all arrows the same, and opposite between the sets")
364+
error(
365+
"With auto_fermion enabled, index sets in eigen must have all arrows the same, and opposite between the sets",
366+
)
368367
end
369368
end
370369

0 commit comments

Comments
 (0)