Skip to content

Commit 178efe5

Browse files
Fix Aqua compat, NNStopping dimension mismatch, Runic CI
- Add compat entries for CUDA_Driver_jll and CUDA_Runtime_jll to satisfy Aqua deps_compat check. - Fix NNStopping DimensionMismatch by adding saveat=dt to SDE solve, ensuring consistent time point count between solution and payoff matrix G. - Add julia-actions/setup-julia to Runic workflow since fredrikekre/runic-action requires Julia to be pre-installed. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1a67102 commit 178efe5

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/workflows/FormatCheck.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v6
17+
- uses: julia-actions/setup-julia@v2
18+
with:
19+
version: '1'
1720
- uses: fredrikekre/runic-action@v1
1821
with:
1922
version: '1'

Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ cuDNN = "02a925ec-e4fe-4b08-9a7e-0d78e3d38ccd"
2727
[compat]
2828
Aqua = "0.8"
2929
CUDA = "5.4.2"
30+
CUDA_Driver_jll = "0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 13"
31+
CUDA_Runtime_jll = "0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17, 0.18, 0.19, 0.20, 0.21"
3032
DiffEqBase = "6.151"
3133
Distributions = "v0.25.107"
3234
DocStringExtensions = "0.9.3"

src/NNStopping.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ function DiffEqBase.solve(
9090
sdealg,
9191
trajectories = trajectories,
9292
dt = dt,
93-
adaptive = false
93+
adaptive = false,
94+
saveat = dt
9495
)
9596

9697
m = NNStoppingModelArray(pdealg.m)

0 commit comments

Comments
 (0)