Skip to content

Commit 85e06f6

Browse files
fix: do not use MTKParameters in BifurcationKitExt
1 parent b20236e commit 85e06f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/MTKBifurcationKitExt.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ function BifurcationKit.BifurcationProblem(nsys::NonlinearSystem,
9191
if !ModelingToolkit.iscomplete(nsys)
9292
error("A completed `NonlinearSystem` is required. Call `complete` or `structural_simplify` on the system before creating a `BifurcationProblem`")
9393
end
94+
@set! nsys.index_cache = nothing # force usage of a parameter vector instead of `MTKParameters`
9495
# Creates F and J functions.
9596
ofun = NonlinearFunction(nsys; jac = jac)
9697
F = ofun.f

0 commit comments

Comments
 (0)