Skip to content

Commit 4ba611a

Browse files
kshyattJutho
andcommitted
Update src/implementations/projections.jl
Co-authored-by: Jutho <Jutho@users.noreply.github.com>
1 parent f8c97f1 commit 4ba611a

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)