Skip to content

Commit

Permalink
Turn example into a jldoctest
Browse files Browse the repository at this point in the history
  • Loading branch information
utkinis committed Nov 22, 2023
1 parent fe1fbfc commit 7ef3dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Grids/cartesian_grid.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Rectilinear grid with uniform spacing.
# Examples
```julia-repl
```jldoctest
julia> grid = CartesianGrid(origin=(0.0,0.0), extent=(1.0,1.0), size=(4,4))
2D 4×4 CartesianGrid{Float64}:
x ∈ [0.0–1.0]; Δx = 0.25
Expand Down

0 comments on commit 7ef3dea

Please sign in to comment.