rarray: fix constructor
This commit is contained in:
parent
52338fcc25
commit
127577e422
2 changed files with 5 additions and 5 deletions
|
@ -48,9 +48,9 @@ namespace CNORXZ
|
||||||
{}
|
{}
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
template <class IndexI, class IndexK>
|
template <class RangeI, class RangeK>
|
||||||
RCArray<T>::RCArray(const Sptr<RRange<IndexI,IndexK>>& range) :
|
RCArray<T>::RCArray(const Sptr<RRange<RangeI,RangeK>>& range) :
|
||||||
mA(std::make_unique<T>(range->local())),
|
mA(std::make_unique<MArray<T>>(range->local())),
|
||||||
mGeom(range->geom()),
|
mGeom(range->geom()),
|
||||||
mGlobal(range)
|
mGlobal(range)
|
||||||
{}
|
{}
|
||||||
|
|
|
@ -37,8 +37,8 @@ namespace CNORXZ
|
||||||
/** Construct from a rank range.
|
/** Construct from a rank range.
|
||||||
@param range The range.
|
@param range The range.
|
||||||
*/
|
*/
|
||||||
template <class IndexI, class IndexK>
|
template <class RangeI, class RangeK>
|
||||||
RCArray(const Sptr<RRange<IndexI,IndexK>>& range);
|
RCArray(const Sptr<RRange<RangeI,RangeK>>& range);
|
||||||
|
|
||||||
/** Construct from local array object.
|
/** Construct from local array object.
|
||||||
@param a Local array.
|
@param a Local array.
|
||||||
|
|
Loading…
Reference in a new issue