From e6add754f038e4d7fe4189f4cda85996da6aee78 Mon Sep 17 00:00:00 2001 From: Aayush Sabharwal Date: Tue, 12 Aug 2025 12:35:30 +0530 Subject: [PATCH] test: avoid intermittent stack overflow in test --- test/initial_values.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/initial_values.jl b/test/initial_values.jl index 9d3829e5aa..f429777866 100644 --- a/test/initial_values.jl +++ b/test/initial_values.jl @@ -147,7 +147,8 @@ end catch end @test_throws ModelingToolkit.UnexpectedSymbolicValueInVarmap ODEProblem( - sys, [x => 2y + 1, y => 2x], (0.0, 1.0); build_initializeprob = false) + sys, [x => 2y + 1, y => 2x], (0.0, 1.0); build_initializeprob = false, + substitution_limit = 10) @parameters p q @mtkcompile sys = System(