Skip to content

Commit

Permalink
Format with clang-format v15
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-mitchell committed Oct 6, 2023
1 parent 189c1e9 commit 847146a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions benchmarks/bench-konieczny.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ namespace libsemigroups {

template <typename Mat>
T operator()(Mat const& x) const {
T res;
T res;
this->operator()(res, x);
return res;
}
Expand Down Expand Up @@ -89,7 +89,7 @@ namespace libsemigroups {

template <typename Mat>
T operator()(Mat const& x) const {
T res;
T res;
this->operator()(res, x);
return res;
}
Expand Down
2 changes: 1 addition & 1 deletion include/libsemigroups/int-range.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ namespace libsemigroups {
}

const_iterator operator--(int) noexcept {
const_iterator tmp(*this);
const_iterator tmp(*this);
const_iterator::operator--();
return tmp;
}
Expand Down
2 changes: 1 addition & 1 deletion src/word.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
4 changes: 2 additions & 2 deletions tests/test-containers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ namespace libsemigroups {
"[containers][quick]") {
DynamicArray2<size_t> rv1 = DynamicArray2<size_t>(10, 10, 3);
DynamicArray2<size_t> rv2 = DynamicArray2<size_t>(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(
Expand All @@ -624,7 +624,7 @@ namespace libsemigroups {

DynamicArray2<bool> rv3 = DynamicArray2<bool>(10, 10, false);
DynamicArray2<bool> rv4 = DynamicArray2<bool>(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(
Expand Down

0 comments on commit 847146a

Please sign in to comment.