Skip to content

Commit

Permalink
accidentally removed multithreading in get_match_patterns when diagno…
Browse files Browse the repository at this point in the history
…sing a bug
  • Loading branch information
jw2249a committed May 13, 2024
1 parent 8201242 commit 0236b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/patterns.jl
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function get_match_patterns(res::Vector{DiBitMatrix}, tf_tables::Dict{String, Ve
dimy=res[1].nrows
len=Int(res[1].data.len)
lk = ReentrantLock()
for first_loc in 0:1024:len
Threads.@threads for first_loc in 0:1024:len
last_loc = first_loc + 1024
if last_loc > len
last_loc=len
Expand Down

0 comments on commit 0236b7c

Please sign in to comment.