Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
antoine-levitt committed Aug 30, 2022
1 parent 2c04d40 commit 8cf0d82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/workarounds/forwarddiff_rules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ function self_consistent_field(basis_dual::PlaneWaveBasis{T};
basis_primal = construct_value(basis_dual)
scfres = self_consistent_field(basis_primal; kwargs...)

## Compute external perturbation (contained in ham_dual) and from matvec with bands
## Compute external perturbation (contained in ham_dual) and form matvec with bands
ham_dual, Hψ_dual = let
occupation_dual = [T.(occk) for occk in scfres.occupation]
ψ_dual = [Complex.(T.(real(ψk)), T.(imag(ψk))) for ψk in scfres.ψ]
Expand Down

0 comments on commit 8cf0d82

Please sign in to comment.