Skip to content

Commit fa2e243

Browse files
clean new dispatches out
1 parent d0fa121 commit fa2e243

File tree

1 file changed

+0
-44
lines changed

1 file changed

+0
-44
lines changed

src/config.jl

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,6 @@ and prevent perturbation confusion (see https://github.com/JuliaDiff/ForwardDiff
138138
139139
This constructor does not store/modify `y` or `x`.
140140
"""
141-
@inline function DerivativeConfig(f::F,
142-
y::AbstractArray{Y},
143-
x::X) where {F,X<:Real,Y<:Real}
144-
T = maketag(f, X)
145-
return DerivativeConfig(f,y,x,T)
146-
end
147-
148141
function DerivativeConfig(f::F,
149142
y::AbstractArray{Y},
150143
x::X,
@@ -180,13 +173,6 @@ However, this will reduce ForwardDiff's ability to catch and prevent perturbatio
180173
181174
This constructor does not store/modify `x`.
182175
"""
183-
@inline function GradientConfig(f::F,
184-
x::AbstractArray{V},
185-
c::Chunk{N} = Chunk(x)) where {F,V,N}
186-
T = maketag(f, V)
187-
return GradientConfig(f,x,c,T)
188-
end
189-
190176
function GradientConfig(f::F,
191177
x::AbstractArray{V},
192178
::Chunk{N},
@@ -224,13 +210,6 @@ However, this will reduce ForwardDiff's ability to catch and prevent perturbatio
224210
225211
This constructor does not store/modify `x`.
226212
"""
227-
@inline function JacobianConfig(f::F,
228-
x::AbstractArray{V},
229-
c::Chunk{N} = Chunk(x)) where {F,V,N}
230-
T = maketag(f, V)
231-
return JacobianConfig(f,x,c,T)
232-
end
233-
234213
function JacobianConfig(f::F,
235214
x::AbstractArray{V},
236215
::Chunk{N},
@@ -256,14 +235,6 @@ However, this will reduce ForwardDiff's ability to catch and prevent perturbatio
256235
257236
This constructor does not store/modify `y` or `x`.
258237
"""
259-
@inline function JacobianConfig(f::F,
260-
y::AbstractArray{Y},
261-
x::AbstractArray{X},
262-
c::Chunk{N} = Chunk(x)) where {F,Y,X,N}
263-
T = maketag(f, X)
264-
return JacobianConfig(f,y,x,c,T)
265-
end
266-
267238
function JacobianConfig(f::F,
268239
y::AbstractArray{Y},
269240
x::AbstractArray{X},
@@ -306,13 +277,6 @@ However, this will reduce ForwardDiff's ability to catch and prevent perturbatio
306277
307278
This constructor does not store/modify `x`.
308279
"""
309-
@inline function HessianConfig(f::F,
310-
x::AbstractArray{V},
311-
chunk::Chunk = Chunk(x)) where {F,V}
312-
T = maketag(f, V)
313-
return HessianConfig(f, x, chunk, T)
314-
end
315-
316280
function HessianConfig(f::F,
317281
x::AbstractArray{V},
318282
chunk::Chunk,
@@ -337,14 +301,6 @@ However, this will reduce ForwardDiff's ability to catch and prevent perturbatio
337301
338302
This constructor does not store/modify `x`.
339303
"""
340-
@inline function HessianConfig(f::F,
341-
result::DiffResult,
342-
x::AbstractArray{V},
343-
chunk::Chunk = Chunk(x)) where {F,V}
344-
T = maketag(f, V)
345-
return HessianConfig(f, result, x, chunk, T)
346-
end
347-
348304
function HessianConfig(f::F,
349305
result::DiffResult,
350306
x::AbstractArray{V},

0 commit comments

Comments
 (0)