We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
torn_system_jacobian_sparsity
jacobian_sparsity
1 parent 1cb6b6a commit 1d6d6caCopy full SHA for 1d6d6ca
src/systems/codegen.jl
@@ -455,9 +455,8 @@ end
455
Return the sparsity pattern of the jacobian of `sys` as a matrix.
456
"""
457
function jacobian_sparsity(sys::System)
458
- # disable to fix https://github.com/SciML/ModelingToolkit.jl/issues/3871
459
- #sparsity = torn_system_jacobian_sparsity(sys)
460
- #sparsity === nothing || return sparsity
+ sparsity = torn_system_jacobian_sparsity(sys)
+ sparsity === nothing || return sparsity
461
462
Symbolics.jacobian_sparsity([eq.rhs for eq in full_equations(sys)],
463
[dv for dv in unknowns(sys)])
0 commit comments