File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -152,22 +152,22 @@ const FORWARDDIFF_AUTODETECTION_FAILURE_MESSAGE = """
152152 end
153153 ```
154154
155- Or you can define a dispatch on `DiffEqBase .anyeltypedual`
155+ Or you can define a dispatch on `SciMLBase .anyeltypedual`
156156 which tells the system what fields to interpret as the
157157 differentiable parts. For example, to support ODESolutions
158158 as parameters we tell it the data is `sol.u` and `sol.t` via:
159159
160160 ```julia
161- function DiffEqBase .anyeltypedual(sol::ODESolution, counter = 0)
162- DiffEqBase .anyeltypedual((sol.u, sol.t))
161+ function SciMLBase .anyeltypedual(sol::ODESolution, counter = 0)
162+ SciMLBase .anyeltypedual((sol.u, sol.t))
163163 end
164164 ```
165165
166166 To opt a type out of the dual checking, define an overload
167167 that returns Any. For example:
168168
169169 ```julia
170- function DiffEqBase .anyeltypedual(::YourType, ::Type{Val{counter}}) where {counter}
170+ function SciMLBase .anyeltypedual(::YourType, ::Type{Val{counter}}) where {counter}
171171 Any
172172 end
173173 ```
You can’t perform that action at this time.
0 commit comments