From 127577e422a9ca880fe727e9ea2dc97e23f84c34 Mon Sep 17 00:00:00 2001 From: Christian Zimmermann Date: Tue, 4 Jun 2024 19:44:34 +0200 Subject: [PATCH] rarray: fix constructor --- src/opt/mpi/include/rarray.cc.h | 6 +++--- src/opt/mpi/include/rarray.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/opt/mpi/include/rarray.cc.h b/src/opt/mpi/include/rarray.cc.h index d154346..b1383c4 100644 --- a/src/opt/mpi/include/rarray.cc.h +++ b/src/opt/mpi/include/rarray.cc.h @@ -48,9 +48,9 @@ namespace CNORXZ {} template - template - RCArray::RCArray(const Sptr>& range) : - mA(std::make_unique(range->local())), + template + RCArray::RCArray(const Sptr>& range) : + mA(std::make_unique>(range->local())), mGeom(range->geom()), mGlobal(range) {} diff --git a/src/opt/mpi/include/rarray.h b/src/opt/mpi/include/rarray.h index 20b0eb7..1390d82 100644 --- a/src/opt/mpi/include/rarray.h +++ b/src/opt/mpi/include/rarray.h @@ -37,8 +37,8 @@ namespace CNORXZ /** Construct from a rank range. @param range The range. */ - template - RCArray(const Sptr>& range); + template + RCArray(const Sptr>& range); /** Construct from local array object. @param a Local array.