diff --git a/test/downstream/modelingtoolkit_remake.jl b/test/downstream/modelingtoolkit_remake.jl index 3f4576d3c..4c4206197 100644 --- a/test/downstream/modelingtoolkit_remake.jl +++ b/test/downstream/modelingtoolkit_remake.jl @@ -143,13 +143,13 @@ for (sys, prob) in zip(syss, probs) # Test u0 dependent on p and p dependent on u0 prob2 = @inferred baseType remake(prob; u0 = [x => 0.5σ + 1], p = [β => 0.5x + 1]) @test ugetter(prob2) ≈ [15.0, 0.0, 0.0] - @test pgeter(prob2) ≈ [28.0, 8.5, 10.0] + @test pgetter(prob2) ≈ [28.0, 8.5, 10.0] prob2 = @inferred baseType remake(prob; u0 = [sys.x => 0.5σ + 1], p = [sys.β => 0.5x + 1]) @test ugetter(prob2) ≈ [15.0, 0.0, 0.0] - @test pgeter(prob2) ≈ [28.0, 8.5, 10.0] + @test pgetter(prob2) ≈ [28.0, 8.5, 10.0] prob2 = @inferred baseType remake(prob; u0 = [:x => 0.5σ + 1], p = [:β => 0.5x + 1]) @test ugetter(prob2) ≈ [15.0, 0.0, 0.0] - @test pgeter(prob2) ≈ [28.0, 8.5, 10.0] + @test pgetter(prob2) ≈ [28.0, 8.5, 10.0] end @variables ud(t) xd(t) yd(t)