Mercurial > repos > public > sbplib_julia
diff src/Grids/Grids.jl @ 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 | de4746d6d126 |
children | 212e266043dd |
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