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

Use ADTypes in tests #1122

Merged
merged 1 commit into from
Mar 4, 2025
Merged

Use ADTypes in tests #1122

merged 1 commit into from
Mar 4, 2025

Conversation

devmotion
Copy link
Member

@devmotion devmotion commented Mar 4, 2025

I noticed test failures in SciML/OrdinaryDiffEq.jl#2617 due to incorrectly specified diff_type in the GPU tests - Val{:central} should be Val(:central) etc. This also showed up in recent buildkite runs on the DiffEqBase master branch: https://buildkite.com/julialang/diffeqbase-dot-jl/builds/1952#019513f2-5ba8-4380-bcb7-b047e9198da3/324-1050

Instead of fixing the diff_types, I assumed it would be more future-proof to switch the tests to ADTypes (and hence only specify autodiff).

@ChrisRackauckas ChrisRackauckas merged commit a89f9af into master Mar 4, 2025
29 of 44 checks passed
@ChrisRackauckas ChrisRackauckas deleted the dw/adtypes_tests branch March 4, 2025 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants