Skip to content

Commit

Permalink
threadlocal is a positional rather than kwarg
Browse files Browse the repository at this point in the history
  • Loading branch information
chriselrod committed Nov 6, 2023
1 parent b491dd0 commit f832095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/batch.jl
Original file line number Diff line number Diff line change
Expand Up @@ -246,5 +246,5 @@ function batch(
args::Vararg{Any,K};
threadlocal::Val{thread_local} = Val(false),
) where {F,K,thread_local}
batch(f!, (len, nbatches), args...; threadlocal)
batch(f!, threadlocal, (len, nbatches), args...)
end

0 comments on commit f832095

Please sign in to comment.