Mercurial > repos > public > sbplib_julia
changeset 521:afdfb027e439
Add todo in Grids.jl regarding a return value
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Tue, 24 Nov 2020 11:04:32 +0100 |
| parents | 27e64b3d3efa |
| children | 3968210797a9 b6768d769f46 |
| files | src/Grids/Grids.jl |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Grids/Grids.jl Mon Nov 23 21:15:04 2020 +0100 +++ b/src/Grids/Grids.jl Tue Nov 24 11:04:32 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 +region(::CartesianBoundary{Dim, R}) where {Dim, R} = R #TODO: Should return R() export dim, region
