Skip to content

Commit ded5ee0

Browse files
committed
fix test after rebase
1 parent 74e4def commit ded5ee0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/inf_integral_tests.jl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,15 +204,18 @@ end
204204

205205
@testset "Caching interface" begin
206206
# two distinct semi-infinite transformations should still work as expected
207-
(; f, domain, solution) = problems[8]
207+
f = (x, p) -> pdf(Normal(0.00, 1.00), x)
208+
domain = (0.0, -Inf)
209+
solution = -0.5
208210
prob = IntegralProblem(f, domain)
209211
alg = QuadGKJL()
210212
cache = init(prob, alg; abstol, reltol)
211213
sol = solve!(cache)
212214
@test abs(only(sol.u) - solution) < max(abstol, reltol * abs(solution))
213215
@test sol.prob == IntegralProblem(f, domain)
214216
@test sol.alg == alg
215-
(; domain, solution) = problems[9]
217+
domain = (-Inf, 0.0)
218+
solution = 0.5
216219
cache.domain = domain
217220
sol = solve!(cache)
218221
@test abs(only(sol.u) - solution) < max(abstol, reltol * abs(solution))

0 commit comments

Comments
 (0)