Skip to content

Commit

Permalink
Remove Function annotation to allow any callable type
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal authored Sep 28, 2023
1 parent 05d8646 commit 92479b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diff.jl
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ julia> Symbolics.jacobian_sparsity(f!, output, input)
1 1
```
"""
function jacobian_sparsity(f!::Function, output::AbstractArray, input::AbstractArray,
function jacobian_sparsity(f!, output::AbstractArray, input::AbstractArray,
args...; kwargs...)
exprs = similar(output, Num)
fill!(exprs, false)
Expand Down

0 comments on commit 92479b5

Please sign in to comment.