From 847146acdf495f2ed2a227343276f0901d83fdf4 Mon Sep 17 00:00:00 2001 From: "James D. Mitchell" Date: Fri, 6 Oct 2023 09:20:35 +0100 Subject: [PATCH] Format with clang-format v15 --- benchmarks/bench-konieczny.cpp | 4 ++-- include/libsemigroups/int-range.hpp | 2 +- src/word.cpp | 2 +- tests/test-containers.cpp | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/benchmarks/bench-konieczny.cpp b/benchmarks/bench-konieczny.cpp index 0bf3c3706..e143da607 100644 --- a/benchmarks/bench-konieczny.cpp +++ b/benchmarks/bench-konieczny.cpp @@ -58,7 +58,7 @@ namespace libsemigroups { template T operator()(Mat const& x) const { - T res; + T res; this->operator()(res, x); return res; } @@ -89,7 +89,7 @@ namespace libsemigroups { template T operator()(Mat const& x) const { - T res; + T res; this->operator()(res, x); return res; } diff --git a/include/libsemigroups/int-range.hpp b/include/libsemigroups/int-range.hpp index 03178a298..bee5ea426 100644 --- a/include/libsemigroups/int-range.hpp +++ b/include/libsemigroups/int-range.hpp @@ -116,7 +116,7 @@ namespace libsemigroups { } const_iterator operator--(int) noexcept { - const_iterator tmp(*this); + const_iterator tmp(*this); const_iterator::operator--(); return tmp; } diff --git a/src/word.cpp b/src/word.cpp index 3f77f3ff1..f78ca4c94 100644 --- a/src/word.cpp +++ b/src/word.cpp @@ -64,7 +64,7 @@ namespace libsemigroups { word_type detail::StringToWord::operator()(std::string const& input) const { word_type output; - operator()(input, output); + operator()(input, output); return output; } diff --git a/tests/test-containers.cpp b/tests/test-containers.cpp index dccd06a5e..22ae83127 100644 --- a/tests/test-containers.cpp +++ b/tests/test-containers.cpp @@ -612,7 +612,7 @@ namespace libsemigroups { "[containers][quick]") { DynamicArray2 rv1 = DynamicArray2(10, 10, 3); DynamicArray2 rv2 = DynamicArray2(9, 9, 2); - rv1.operator=(rv2); + rv1. operator=(rv2); REQUIRE(rv1.number_of_cols() == 9); REQUIRE(rv1.number_of_rows() == 9); REQUIRE(std::all_of( @@ -624,7 +624,7 @@ namespace libsemigroups { DynamicArray2 rv3 = DynamicArray2(10, 10, false); DynamicArray2 rv4 = DynamicArray2(9, 9, true); - rv3.operator=(rv4); + rv3. operator=(rv4); REQUIRE(rv3.number_of_cols() == 9); REQUIRE(rv3.number_of_rows() == 9); REQUIRE(std::all_of(