File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change 209209 # Test that we can initialize the integrator without the symbolic conversion error
210210 # The key test is that this doesn't throw a MethodError about
211211 # "Cannot convert BasicSymbolic{Real} to Float64" during setup
212- try
213- sol = solve (recovered_model, Tsit5 (), save_everystep = false )
214- # If solve succeeds or fails with an Unstable error, that's fine
215- # We just want to ensure no MethodError about symbolic conversion
216- @test true
217- catch e
218- # Fail only if it's a MethodError about symbolic to Float64 conversion
219- if e isa MethodError && occursin (" BasicSymbolic" , string (e))
220- rethrow (e)
221- end
222- # Otherwise, pass the test (other errors are acceptable)
223- @test true
224- end
212+ sol = solve (recovered_model, Tsit5 (), save_everystep = false )
225213
226214 # Also test with parameters that have default values
227215 @parameters w2[1 : 2 ] = [1.5 , 2.5 ]
You can’t perform that action at this time.
0 commit comments