Skip to content

Commit

Permalink
Update bifurcationkit.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Oct 12, 2024
1 parent b144e15 commit e0d5e15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/extensions/bifurcationkit.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using BifurcationKit, ModelingToolkit, Test
using BifurcationKit, ModelingToolkit, SetField, Test
using ModelingToolkit: t_nounits as t, D_nounits as D
# Simple pitchfork diagram, compares solution to native BifurcationKit, checks they are identical.
# Checks using `jac=false` option.
Expand Down Expand Up @@ -36,7 +36,7 @@ let
bprob_BK = BifurcationProblem(f_BK,
[1.0, 1.0],
[-1.0, 1.0],
(@lens _[1]);
(SetField.@lens _[1]);
record_from_solution = (x, p) -> x[1])
bif_dia_BK = bifurcationdiagram(bprob_BK,
PALC(),
Expand Down

0 comments on commit e0d5e15

Please sign in to comment.