From e6ff101b9f64d5771f3fa4537e3c359b043f869a Mon Sep 17 00:00:00 2001 From: ginkgo-bot Date: Wed, 2 Aug 2023 21:45:29 +0000 Subject: [PATCH] Format files Co-authored-by: Pratik Nayak --- core/base/batch_utilities.hpp | 4 +--- include/ginkgo/core/base/batch_multi_vector.hpp | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/core/base/batch_utilities.hpp b/core/base/batch_utilities.hpp index f7f28a616d8..e5dc22faeda 100644 --- a/core/base/batch_utilities.hpp +++ b/core/base/batch_utilities.hpp @@ -34,14 +34,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define GKO_CORE_BASE_BATCH_UTILITIES_HPP_ -#include - - #include #include #include +#include #include #include #include diff --git a/include/ginkgo/core/base/batch_multi_vector.hpp b/include/ginkgo/core/base/batch_multi_vector.hpp index 8003f5499f1..d91274526d3 100644 --- a/include/ginkgo/core/base/batch_multi_vector.hpp +++ b/include/ginkgo/core/base/batch_multi_vector.hpp @@ -196,8 +196,8 @@ class MultiVector * significantly more memory efficient than the non-constant version, * so always prefer this version. */ - const value_type* get_const_values_for_item(size_type batch_id) const - noexcept + const value_type* get_const_values_for_item( + size_type batch_id) const noexcept { GKO_ASSERT(batch_id < this->get_num_batch_items()); return values_.get_const_data() +