Commit 0812137f authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed remaining return types of getOrganization methods

Fixes #83
parent 1ac8fe84
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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_ >
+1 −1
Original line number Diff line number Diff line
@@ -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;