From 5cbdba88fcc14e086f5308691b633953f499ae16 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Fri, 8 Nov 2024 03:03:34 +0100 Subject: [PATCH] fix --- docs/src/literate-howto/threaded_assembly.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/literate-howto/threaded_assembly.jl b/docs/src/literate-howto/threaded_assembly.jl index 8eb878c2d8..1e17b78c58 100644 --- a/docs/src/literate-howto/threaded_assembly.jl +++ b/docs/src/literate-howto/threaded_assembly.jl @@ -240,7 +240,7 @@ function assemble_global!( ## Tell the @tasks loop to use the scheduler defined above @set scheduler = scheduler ## Obtain a task local scratch and unpack it - @local scratch = make_scratch(scratch) + @local scratch = create_scratch(scratch) local (; cell_cache, cellvalues, Ke, fe, assembler) = scratch ## Reinitialize the cell cache and then the cellvalues reinit!(cell_cache, cellidx) @@ -262,7 +262,7 @@ nothing # hide # ```julia # # using TaskLocalValues # scratches = TaskLocalValue() do -# make_scratch(scratch) +# create_scratch(scratch) # end # OhMyThreads.tforeach(color; scheduler) do cellidx # # Obtain a task local scratch and unpack it