Skip to content

Commit 40d494b

Browse files
authored
Merge pull request #36 from ranjanan/ranjanan-patch-1
Remove buggy threading code
2 parents 3640efd + 9f0a428 commit 40d494b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ spmatvec(A::SparseMatrixCSC{TA,S}, x::StridedVector{Tx}) where {TA,S,Tx} =
124124

125125
# export spmatvec
126126

127-
@static if haskey(ENV, "JULIA_NUM_THREADS")
127+
#=@static if haskey(ENV, "JULIA_NUM_THREADS")
128128
info("Initializing AMG to use $(nthreads()) threads")
129129
import Base: *
130130
function *(A::SparseMatrixCSC{T,V}, b::Vector{T}) where {T,V}
@@ -139,4 +139,4 @@ spmatvec(A::SparseMatrixCSC{TA,S}, x::StridedVector{Tx}) where {TA,S,Tx} =
139139
end
140140
ret
141141
end
142-
end
142+
end=#

0 commit comments

Comments
 (0)