Skip to content
Snippets Groups Projects
Commit 1a62ea2e authored by Jakub Klinkovský's avatar Jakub Klinkovský Committed by Tomáš Oberhuber
Browse files

Fixed remaining return types of getOrganization methods

Fixes #83
parent 00f9e35e
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ class EllpackView
using DeviceType = Device;
using IndexType = std::remove_const_t< Index >;
static constexpr int getAlignment() { return Alignment; }
static constexpr bool getOrganization() { return Organization; }
static constexpr ElementsOrganization getOrganization() { return Organization; }
using OffsetsContainer = Containers::Vector< IndexType, DeviceType, IndexType >;
using SegmentsSizes = OffsetsContainer;
template< typename Device_, typename Index_ >
......
......@@ -32,7 +32,7 @@ class SlicedEllpackView
using IndexType = std::remove_const_t< Index >;
using OffsetsView = typename Containers::VectorView< Index, DeviceType, IndexType >;
static constexpr int getSliceSize() { return SliceSize; }
static constexpr bool getOrganization() { return Organization; }
static constexpr ElementsOrganization getOrganization() { return Organization; }
template< typename Device_, typename Index_ >
using ViewTemplate = SlicedEllpackView< Device_, Index_, Organization, SliceSize >;
using ViewType = SlicedEllpackView;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment