Skip to content

Commit a15f9f4

Browse files
committed
Fix IntegralProblem deprecation error in tests
Removed domain patterns that expand to deprecated constructor signature. The patterns (0.0, 1.0) and ([0.0], [1.0]) were causing the test to use the deprecated IntegralProblem{iip}(f, lb, ub, p) constructor instead of the new IntegralProblem{iip}(f, (lb, ub), p) constructor. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 69e4111 commit a15f9f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/function_building_error_messages.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ for (f, kws, iip) in (
485485
(intfiip, (; nout = 3), true),
486486
(IntegralFunction(intfiip, zeros(3)), (;), true)
487487
),
488-
domain in (((0.0, 1.0),), (([0.0], [1.0]),), (0.0, 1.0), ([0.0], [1.0]))
488+
domain in (((0.0, 1.0),), (([0.0], [1.0]),))
489489

490490
IntegralProblem(f, domain...; kws...)
491491
IntegralProblem(f, domain..., p; kws...)

0 commit comments

Comments
 (0)