Mercurial > repos > public > sbplib_julia
diff src/Grids/Grids.jl @ 592:4781e759d92f refactor/toml_operator_format
Merge default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 02 Dec 2020 14:20:24 +0100 |
parents | 212e266043dd |
children | f0ceddeae993 |
line wrap: on
line diff
--- a/src/Grids/Grids.jl Wed Dec 02 14:19:37 2020 +0100 +++ b/src/Grids/Grids.jl Wed Dec 02 14:20:24 2020 +0100 @@ -7,7 +7,7 @@ abstract type BoundaryIdentifier end struct CartesianBoundary{Dim, R<:Region} <: BoundaryIdentifier end dim(::CartesianBoundary{Dim, R}) where {Dim, R} = Dim -region(::CartesianBoundary{Dim, R}) where {Dim, R} = R #TODO: Should return R() +region(::CartesianBoundary{Dim, R}) where {Dim, R} = R() export dim, region