Mercurial > repos > public > sbplib_julia
diff src/RegionIndices/RegionIndices.jl @ 542:011ca1639153 refactor/tensor_index_coupling
Remove Index{Unknown} and replace with general Any implementations
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 27 Nov 2020 11:27:37 +0100 |
parents | 91e015880ae6 |
children | b41180efb6c2 |
line wrap: on
line diff
--- a/src/RegionIndices/RegionIndices.jl Thu Nov 26 21:35:34 2020 +0100 +++ b/src/RegionIndices/RegionIndices.jl Fri Nov 27 11:27:37 2020 +0100 @@ -4,9 +4,8 @@ struct Interior <: Region end struct Lower <: Region end struct Upper <: Region end -struct Unknown <: Region end -export Region, Interior, Lower, Upper, Unknown +export Region, Interior, Lower, Upper struct Index{R<:Region, T<:Integer} i::T