Skip to content

Commit 4dafec6

Browse files
committed
Use only free indices for diag matrices
1 parent e8a70e5 commit 4dafec6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/std.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ function _to_std_string(arg::BinaryOperation{ElementWise})
473473
end
474474

475475
if length(terms) == 2 && length(target_indices) == 2
476-
arg1_ids, arg2_ids = get_indices.(terms)
476+
arg1_ids, arg2_ids = get_free_indices.(terms)
477477

478478
if maximum(length.((arg1_ids, arg2_ids))) == 2 &&
479479
minimum(length.((arg1_ids, arg2_ids))) == 1

0 commit comments

Comments
 (0)