Skip to content

Commit ea2f955

Browse files
kshyattJutho
andauthored
Update test/ad_utils.jl
Co-authored-by: Jutho <Jutho@users.noreply.github.com>
1 parent e697d06 commit ea2f955

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/ad_utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function remove_eighgauge_dependence!(
2424
gaugepart = V' * ΔV
2525
gaugepart = project_antihermitian!(gaugepart)
2626
gaugepart[abs.(transpose(diagview(D)) .- diagview(D)) .>= degeneracy_atol] .= 0
27-
mul!(ΔV, V / (V' * V), gaugepart, -1, 1)
27+
mul!(ΔV, V, gaugepart, -1, 1)
2828
return ΔV
2929
end
3030

0 commit comments

Comments
 (0)