diff src/Grids/equidistant_grid.jl @ 1874:610ac5ca5d43 feature/documenter_logo

Merge default
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 27 Jan 2025 09:23:01 +0100
parents 516eaabf1169
children edee7d677efb f93ba5832146
line wrap: on
line diff
--- a/src/Grids/equidistant_grid.jl	Mon Jan 20 15:40:56 2025 +0100
+++ b/src/Grids/equidistant_grid.jl	Mon Jan 27 09:23:01 2025 +0100
@@ -71,8 +71,8 @@
 boundary_identifiers(::EquidistantGrid) = (LowerBoundary(), UpperBoundary())
 boundary_grid(g::EquidistantGrid, id::LowerBoundary) = ZeroDimGrid(g[begin])
 boundary_grid(g::EquidistantGrid, id::UpperBoundary) = ZeroDimGrid(g[end])
-boundary_indices(g::EquidistantGrid, id::LowerBoundary) = (firstindex(g),)
-boundary_indices(g::EquidistantGrid, id::UpperBoundary) = (lastindex(g),)
+boundary_indices(g::EquidistantGrid, id::LowerBoundary) = firstindex(g)
+boundary_indices(g::EquidistantGrid, id::UpperBoundary) = lastindex(g)
 
 """
     refine(g::EquidistantGrid, r::Int)