Skip to content

Commit

Permalink
Fix interval arithmetic tests by version bound (#894)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfherbst authored Oct 12, 2023
1 parent ff23d40 commit 5c6b30d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ julia/1.8-n2:
- module load lang/JuliaHPC/1.9.0-foss-2022a-CUDA-11.7.0
- julia --project=. -e '
using Pkg; Pkg.instantiate();
Pkg.add("CUDA")
Pkg.add("CUDA");
using CUDA;
CUDA.set_runtime_version!(v"11.7")
'
Expand Down
1 change: 1 addition & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ ForwardDiff = "0.10"
GPUArraysCore = "0.1"
InteratomicPotentials = "0.2"
Interpolations = "0.14"
IntervalArithmetic = "0.20"
IterTools = "1"
IterativeSolvers = "0.9"
LazyArtifacts = "1.3"
Expand Down
3 changes: 1 addition & 2 deletions test/interval_arithmetic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ using GenericLinearAlgebra
include("testcases.jl")

function discretized_hamiltonian(T, testcase)
model = model_DFT(testcase.lattice, testcase.atoms,
model = model_DFT(convert(Matrix{T}, testcase.lattice), testcase.atoms,
testcase.positions, [:lda_x, :lda_c_vwn])
model = convert(Model{T}, model)

# For interval arithmetic to give useful numbers,
# the fft_size should be a power of 2
Expand Down

0 comments on commit 5c6b30d

Please sign in to comment.