From 3190b11ca51a3b34020a4d3a29c14e0c0939c39e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Oberhuber?= <oberhuber.tomas@gmail.com> Date: Tue, 4 May 2021 14:41:31 +0200 Subject: [PATCH] Fixing EllpackView::getView method. --- src/TNL/Algorithms/Segments/EllpackView.h | 1 - src/TNL/Algorithms/Segments/EllpackView.hpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/TNL/Algorithms/Segments/EllpackView.h b/src/TNL/Algorithms/Segments/EllpackView.h index 6e4995e1d8..b8066f6353 100644 --- a/src/TNL/Algorithms/Segments/EllpackView.h +++ b/src/TNL/Algorithms/Segments/EllpackView.h @@ -137,7 +137,6 @@ template< typename Device, int Alignment > std::ostream& operator<<( std::ostream& str, const EllpackView< Device, Index, Organization, Alignment >& ellpack ) { return printSegments( str, ellpack ); } - } // namespace Segments } // namespace Algorithms } // namespace TNL diff --git a/src/TNL/Algorithms/Segments/EllpackView.hpp b/src/TNL/Algorithms/Segments/EllpackView.hpp index 18f1cde7b3..7abf2caed6 100644 --- a/src/TNL/Algorithms/Segments/EllpackView.hpp +++ b/src/TNL/Algorithms/Segments/EllpackView.hpp @@ -110,7 +110,7 @@ typename EllpackView< Device, Index, Organization, Alignment >::ViewType EllpackView< Device, Index, Organization, Alignment >:: getView() { - return ViewType( segmentSize, segmentsCount, alignedSize ); + return ViewType( segmentsCount, segmentSize, alignedSize ); } template< typename Device, -- GitLab