From 978f838984549f01e6c4d6032960331b0bcbc415 Mon Sep 17 00:00:00 2001 From: Rafael Schouten Date: Mon, 4 Nov 2024 01:58:31 +0100 Subject: [PATCH] fix fill example docs (#843) --- src/array/array.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/array/array.jl b/src/array/array.jl index faf94b1f0..aa4238c4f 100644 --- a/src/array/array.jl +++ b/src/array/array.jl @@ -494,14 +494,14 @@ Keywords are the same as for [`DimArray`](@ref). ```jldoctest julia> using DimensionalData, Random; Random.seed!(123); -julia> rand(Bool, X(2), Y(4)) +julia> fill(true, X(2), Y(4)) ╭──────────────────────╮ │ 2×4 DimArray{Bool,2} │ ├──────────────── dims ┤ ↓ X, → Y └──────────────────────┘ - 0 0 0 0 - 1 0 0 1 + 1 1 1 1 + 1 1 1 1 ``` """ Base.fill