Skip to content

Commit

Permalink
Merge pull request #10 from ReactiveBayes/dev-julia-1.10
Browse files Browse the repository at this point in the history
Use Julia 1.10 for tests
  • Loading branch information
bvdmitri authored Jan 16, 2024
2 parents c3d9594 + 007ab2c commit 78c94e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
matrix:
version:
- '1.9'
- '1.10'
os:
- ubuntu-latest
arch:
Expand Down Expand Up @@ -47,7 +48,7 @@ jobs:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
with:
version: '1'
version: '1.10'
- name: Configure doc environment
run: |
julia --project=docs/ -e '
Expand Down
4 changes: 2 additions & 2 deletions test/fastcholesky_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ end
64.9016820609457 1610.468694700484 0.10421453600353446 2.6155294717625517
1712.2779951809016 42488.422800411565 2.6155294717625517 69.0045838263577
]
@test inv(fastcholesky(F)) * F Diagonal(ones(4)) rtol=1e-4
@test cholinv(F) * F Diagonal(ones(4)) rtol=1e-4
@test fastcholesky(F) \ F Diagonal(ones(4)) rtol=1e-4
@test cholinv(F) * F Diagonal(ones(4)) rtol=5e-4 # call to `inv` is less precise than the `\` operator
@test fastcholesky(F).L cholesky(F).L
end

0 comments on commit 78c94e2

Please sign in to comment.