Skip to content

Commit d6ae833

Browse files
Add TimerOutputs annotation to SCF ForwardDiff rule (#1176)
1 parent 6325312 commit d6ae833

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/workarounds/forwarddiff_rules.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,10 @@ function construct_value(basis::PlaneWaveBasis{T}) where {T <: Dual}
219219
end
220220

221221

222-
function self_consistent_field(basis_dual::PlaneWaveBasis{T};
223-
response=ResponseOptions(),
224-
kwargs...) where {T <: Dual}
222+
@timing "self_consistent_field ForwardDiff" function self_consistent_field(
223+
basis_dual::PlaneWaveBasis{T};
224+
response=ResponseOptions(),
225+
kwargs...) where {T <: Dual}
225226
# Note: No guarantees on this interface yet.
226227

227228
# Primal pass

0 commit comments

Comments
 (0)