Open omalleyc opened 4 years ago
You should not use sensealg as a keyword, try:
prob_singular_mm_fs=ODEForwardSensitivityProblem(f,u0, tspan,p,ForwardDiffSensitivity();)
The way you use it it defaults to ForwardSensitivity()
, which does not handle mass matrices correctly, I think.
Hi, I am trying to use the new functionality to obtain local sensitivities from DAE models. @ChrisRackauckas was able to show me an example using the adjoint_sensitivity() but when I tried using the ODELocalSensitivityProblem for the same problem I get an error regarding a DimensionMismatch for the mass matrix. See the MWE below: