From 4a716c36b80bc926dcf365911d1f269ec3abff16 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Thu, 5 Oct 2023 16:43:00 +0200 Subject: [PATCH] [docs] update getting_started_with_julia.jl (#3534) --- .../tutorials/getting_started/getting_started_with_julia.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/tutorials/getting_started/getting_started_with_julia.jl b/docs/src/tutorials/getting_started/getting_started_with_julia.jl index e6b3a2f0f22..34860847518 100644 --- a/docs/src/tutorials/getting_started/getting_started_with_julia.jl +++ b/docs/src/tutorials/getting_started/getting_started_with_julia.jl @@ -249,7 +249,7 @@ isapprox(1e-9, 0.0; atol = 1e-8) # It's important to note that this issue isn't Julia-specific. It happens in # every programming language (try it out in Python). -# ## Vectors, matrices and arrays +# ## Vectors, matrices, and arrays # Similar to MATLAB, Julia has native support for vectors, matrices and tensors; # all of which are represented by arrays of different dimensions. Vectors are @@ -626,7 +626,7 @@ end #hide # the opening `(`. This works for _any_ function, including functions with # multiple arguments. For example: -f.([1, 2, 3]) +foo.([1, 2, 3]) # !!! tip # Get a `MethodError` when calling a function that takes a `Vector`,