Skip to content

Commit

Permalink
update test for SciMLBasev2
Browse files Browse the repository at this point in the history
  • Loading branch information
lxvm committed Oct 30, 2023
1 parent 3513723 commit fabd976
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/derivative_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ dp3 = FiniteDiff.finite_difference_gradient(p -> testf3(lb, ub, p), p)

## iip Batch multi dim
function g(dx, x, p)
dx .= dropdims(sum(x * p[1] .+ p[2] * p[3], dims = 1), dims = 1)
dx .= sum(x * p[1] .+ p[2] * p[3], dims = 1)
end

lb = [1.0, 1.0]
Expand Down
2 changes: 1 addition & 1 deletion test/inf_integral_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ prob = IntegralProblem(m2, SVector(-Inf, -Inf), SVector(Inf, Inf))
prob = @test_nowarn @inferred Integrals.transformation_if_inf(prob, Val(true))
@test_nowarn @inferred Integrals.__solvebp_call(prob, HCubatureJL(),
Integrals.ReCallVJP(Integrals.ZygoteVJP()),
prob.lb, prob.ub, prob.p)
prob.domain, prob.p)

0 comments on commit fabd976

Please sign in to comment.