From 23816abcdf4cebbd5f2f2fb5a665d1fda75dba49 Mon Sep 17 00:00:00 2001 From: chriselrod Date: Sun, 5 Nov 2023 21:22:20 -0500 Subject: [PATCH] threadlocal is a positional rather than kwarg --- Project.toml | 2 +- src/batch.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 89bacb5..09903fa 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Polyester" uuid = "f517fe37-dbe3-4b94-8317-1923a5111588" authors = ["Chris Elrod and contributors"] -version = "0.7.8" +version = "0.7.9" [deps] ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9" diff --git a/src/batch.jl b/src/batch.jl index e8ffbce..fcc236c 100644 --- a/src/batch.jl +++ b/src/batch.jl @@ -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