fixes..
This commit is contained in:
parent
d5a1422f34
commit
675b0dd9f0
2 changed files with 6 additions and 3 deletions
|
@ -35,6 +35,9 @@ namespace MultiArrayTools
|
|||
typedef MultiArrayBase<T,SRanges...> MAB;
|
||||
typedef ContainerIndex<T,typename SRanges::IndexType...> IndexType;
|
||||
|
||||
using MultiArrayBase<T,SRanges...>::operator[];
|
||||
using MutableMultiArrayBase<T,SRanges...>::operator[];
|
||||
|
||||
DEFAULT_MEMBERS(MultiArray);
|
||||
MultiArray(const std::shared_ptr<SRanges>&... ranges);
|
||||
MultiArray(const std::shared_ptr<SRanges>&... ranges, const T& val);
|
||||
|
|
|
@ -35,9 +35,9 @@ namespace MultiArrayTools
|
|||
|
||||
SubIndex(const std::shared_ptr<RangeType>& range);
|
||||
|
||||
static constexpr IndexType sType() { return typename Index::sType(); }
|
||||
static constexpr size_t totalDim() { return typename Index::totalDim(); }
|
||||
static constexpr size_t sDim() { return typename Index::sDim(); }
|
||||
static constexpr IndexType sType() { return IndexType::SINGLE; }
|
||||
static constexpr size_t totalDim() { return 1; }
|
||||
static constexpr size_t sDim() { return 1; }
|
||||
|
||||
static constexpr SpaceType STYPE = Index::STYPE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue