Skip to content

Commit a030b8b

Browse files
kshyattJutho
andauthored
Update src/implementations/projections.jl
Co-authored-by: Jutho <[email protected]>
1 parent d151045 commit a030b8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/implementations/projections.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ end
6565

6666
function project_hermitian_native!(A::Diagonal, B::Diagonal, ::Val{anti}; kwargs...) where {anti}
6767
if anti
68-
diagview(A) .= imag.(diagview(B)) .* im
68+
diagview(A) .= _imimag.(diagview(B))
6969
else
7070
diagview(A) .= real.(diagview(B))
7171
end

0 commit comments

Comments
 (0)