Skip to content

Commit

Permalink
Update gradients.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Feb 16, 2018
1 parent c2bc2b1 commit cd80e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gradients.jl
Expand Up @@ -54,7 +54,7 @@ function GradientCache(
c2 :: Union{Void,AbstractArray{<:Number}},
fx :: Union{Void,<:Number,AbstractArray{<:Number}} = nothing,
fdtype :: Type{T1} = Val{:central},
returntype :: Type{T2} = eltype(df),
returntype :: Type{T2} = eltype(c1),
inplace :: Type{Val{T3}} = Val{true}) where {T1,T2,T3}

if fdtype!=Val{:forward} && typeof(fx)!=Void
Expand Down

0 comments on commit cd80e68

Please sign in to comment.