Skip to content

Commit 9467a91

Browse files
fix
1 parent 6a7db5f commit 9467a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/finitediff.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ end
2828
end
2929
end
3030

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

0 commit comments

Comments
 (0)