From d25b1b3563f0efaca7600db8c0614198074aef86 Mon Sep 17 00:00:00 2001 From: Frames White Date: Thu, 2 Oct 2025 16:23:22 +0800 Subject: [PATCH] Remove irrelevant mention of StaticArrays macros I think the example was updated to not use macros without updating the text --- docs/src/tutorials/code_optimization.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/src/tutorials/code_optimization.md b/docs/src/tutorials/code_optimization.md index b26875ad4..98ece3076 100644 --- a/docs/src/tutorials/code_optimization.md +++ b/docs/src/tutorials/code_optimization.md @@ -106,8 +106,7 @@ up) is determined at runtime. But there are structures in Julia which are stack- `struct`s for example are stack-allocated “value-type”s. `Tuple`s are a stack-allocated collection. The most useful data structure for NonlinearSolve though is the `StaticArray` from the package [StaticArrays.jl](https://github.com/JuliaArrays/StaticArrays.jl). These -arrays have their length determined at compile-time. They are created using macros attached -to normal array expressions, for example: +arrays have their length determined at compile-time. For example: ```@example small_opt import StaticArrays