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