Skip to content

Commit 8d882ba

Browse files
Fix initialization inference test on Julia 1.11
Julia 1.11 now infers the FullSpecialize remake and solve checks, so the stale @test_broken wrapper evaluates to a non-Bool test expression there. Keep those assertions active on Julia 1.11 while preserving the existing Julia 1.10 broken expectation. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
1 parent 17de025 commit 8d882ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ModelingToolkitBase/test/initializationsystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1742,7 +1742,7 @@ end
17421742
@inferred remake(prob; u0 = 2 .* prob.u0, p = prob.p)
17431743
@inferred solve(prob)
17441744
end
1745-
elseif v"1.12-" <= VERSION
1745+
elseif VERSION >= v"1.11"
17461746
@inferred remake(prob; u0 = 2 .* prob.u0, p = prob.p)
17471747
@inferred solve(prob)
17481748
else

0 commit comments

Comments
 (0)