Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Feb 15, 2018
1 parent 6a7db5f commit 9467a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/finitediff.jl
Expand Up @@ -28,7 +28,7 @@ end
end
end

function fdtype_error(funtype::Type{T}=Float64)
function fdtype_error(funtype::Type{T}=Float64) where T
if funtype<:Real
error("Unrecognized fdtype: valid values are Val{:forward}, Val{:central} and Val{:complex}.")
elseif funtype<:Complex
Expand Down

0 comments on commit 9467a91

Please sign in to comment.