Skip to content

Commit a8ef3d1

Browse files
committed
Fix threading test to use BLAS.get_num_threads() instead of Compat.get_num_threads() (deprecated)
1 parent eb4cfb4 commit a8ef3d1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/threading/test_threading.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using Compat
21
using ITensors
32
using Test
43
using LinearAlgebra
@@ -8,7 +7,7 @@ if isone(Threads.nthreads())
87
end
98

109
@testset "Threading" begin
11-
blas_num_threads = Compat.get_num_threads()
10+
blas_num_threads = BLAS.get_num_threads()
1211
strided_num_threads = ITensors.NDTensors.Strided.get_num_threads()
1312

1413
BLAS.set_num_threads(1)

0 commit comments

Comments
 (0)