Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to SciMLBase v2 #189

Merged
merged 27 commits into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
68ae9d6
bump dependencies
lxvm Oct 30, 2023
bb98991
update Integrals to SciMLBasev2
lxvm Oct 30, 2023
b2798ca
format
lxvm Oct 30, 2023
187954e
update FastGauss... to SciMLBasev2
lxvm Oct 30, 2023
5389a23
update IntegralsCuba to SciMLBasev2
lxvm Oct 30, 2023
6763300
update IntegralsCubature to SciMLBasev2
lxvm Oct 30, 2023
6454e1c
update AD ForwardDiff to SciMLBasev2
lxvm Oct 30, 2023
edfa554
update AD Zygote to SciMLBasev2
lxvm Oct 30, 2023
4f60f06
update test for SciMLBasev2
lxvm Oct 30, 2023
64f80c3
bump SciML version
lxvm Nov 1, 2023
cf803f3
unwrap output array from Forward pass when ok
lxvm Nov 1, 2023
02710ca
delete old comments
lxvm Nov 1, 2023
77f0e83
fix dual unwrapping in forwarddiff
lxvm Nov 1, 2023
24fce57
Change to using extension packages
ChrisRackauckas Nov 2, 2023
88b4ea7
Incorporate https://github.com/SciML/Integrals.jl/pull/185
ChrisRackauckas Nov 2, 2023
c9bc978
fix tests to use subpackages
ChrisRackauckas Nov 2, 2023
f9720b0
move alg dispatches
ChrisRackauckas Nov 2, 2023
7979058
fix docs
ChrisRackauckas Nov 2, 2023
9cfcadb
fix alg dispatches
ChrisRackauckas Nov 2, 2023
ebd0331
import algs
ChrisRackauckas Nov 2, 2023
aebfa98
get cubature updates back
ChrisRackauckas Nov 2, 2023
73c6d90
make sure to extend dispatch
ChrisRackauckas Nov 2, 2023
2f3226e
update Project.toml
lxvm Nov 2, 2023
df38e87
Update Project.toml
ChrisRackauckas Nov 2, 2023
53186d2
Update CI.yml
ChrisRackauckas Nov 2, 2023
dba8569
Update Project.toml
lxvm Nov 2, 2023
3cf503c
Fix CI scripts for no lib
ChrisRackauckas Nov 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update test for SciMLBasev2
  • Loading branch information
lxvm authored and ChrisRackauckas committed Nov 2, 2023
commit 4f60f0619f6fe738f5d223ae30e3ae83886bc8ca
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)