@@ -185,7 +185,6 @@ function Base.show(io::IO, backend::AutoForwardDiff{chunksize}) where {chunksize
185
185
print (io, " )" )
186
186
end
187
187
188
-
189
188
"""
190
189
AutoGTPSA{D}
191
190
@@ -201,11 +200,10 @@ Defined by [ADTypes.jl](https://github.com/SciML/ADTypes.jl).
201
200
202
201
- `descriptor::D`: can be either
203
202
204
- + a GTPSA `Descriptor` specifying the number of variables/parameters, parameter
205
- order, individual variable/parameter truncation orders, and maximum order. See
203
+ + a GTPSA `Descriptor` specifying the number of variables/parameters, parameter
204
+ order, individual variable/parameter truncation orders, and maximum order. See
206
205
the [GTPSA.jl documentation](https://bmad-sim.github.io/GTPSA.jl/stable/man/c_descriptor/) for more details.
207
206
+ `nothing` to automatically use a `Descriptor` given the context.
208
-
209
207
"""
210
208
Base. @kwdef struct AutoGTPSA{D} <: AbstractADType
211
209
descriptor:: D = nothing
@@ -215,12 +213,10 @@ mode(::AutoGTPSA) = ForwardMode()
215
213
216
214
function Base. show (io:: IO , backend:: AutoGTPSA{D} ) where {D}
217
215
print (io, AutoGTPSA, " (" )
218
- D != Nothing && print (io, " descriptor=\n " , repr (backend. descriptor; context = io))
216
+ D != Nothing && print (io, " descriptor=" , repr (backend. descriptor; context = io))
219
217
print (io, " )" )
220
218
end
221
219
222
-
223
-
224
220
"""
225
221
AutoPolyesterForwardDiff{chunksize,T}
226
222
0 commit comments