Sparsity Detection in Jacobian

When trying to run

https://diffeq.sciml.ai/stable/tutorials/advanced_ode_example/#Declaring-a-Sparse-Jacobian-with-Automatic-Sparsity-Detection

I obtain

MethodError: no method matching jacobian_sparsity(::var"#7#8", ::Array{Float64, 3}, ::Array{Float64, 3})
Closest candidates are:
jacobian_sparsity(::Any, ::Any) at /Users/djplahaye/.julia/packages/Symbolics/sITWZ/src/diff.jl:358

1 Like

Managed to by-pass this issue by reverting to the older SparsityDetection functionality. Insight into how to do the same using Symbolic remains valuable to receive. Thx!