Skip to content

Commit

Permalink
And updated version logic again
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexsp32 committed Apr 8, 2024
1 parent 61671cf commit 3f1b794
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/Core/calculators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ using RingPolymerArrays: RingPolymerArrays
# For the allocation tests check against both backends as we can't be sure which is in use.
const MKL_EIGEN_ALLOCATIONS = 54912
# Julia 1.10 has slightly different eigen allocations
VERSION>v"1.9" ? const OPENBLAS_EIGEN_ALLOCATIONS = 57216 : const OPENBLAS_EIGEN_ALLOCATIONS = 56896
if VERSION>v"1.9"
const OPENBLAS_EIGEN_ALLOCATIONS = 57216
else
const OPENBLAS_EIGEN_ALLOCATIONS = 56896
end

@testset "General constructors" begin
model = NQCModels.DoubleWell()
Expand Down

0 comments on commit 3f1b794

Please sign in to comment.