Skip to content

Commit 291636c

Browse files
Merge pull request #3889 from AayushSabharwal/as/robust-test
test: avoid intermittent stack overflow in test
2 parents a62cb14 + e6add75 commit 291636c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/initial_values.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ end
147147
catch
148148
end
149149
@test_throws ModelingToolkit.UnexpectedSymbolicValueInVarmap ODEProblem(
150-
sys, [x => 2y + 1, y => 2x], (0.0, 1.0); build_initializeprob = false)
150+
sys, [x => 2y + 1, y => 2x], (0.0, 1.0); build_initializeprob = false,
151+
substitution_limit = 10)
151152

152153
@parameters p q
153154
@mtkcompile sys = System(

0 commit comments

Comments
 (0)