Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-mitchell committed Dec 9, 2024
1 parent 7ffcd76 commit 46ee4b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions include/libsemigroups/kambites.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,11 +267,11 @@ namespace libsemigroups {
template <typename OtherWord>
Kambites(congruence_kind knd, Presentation<OtherWord> const& p)
: Kambites(
knd,
// The lambda in the next line converts, say, chars to
// size_ts, but doesn't convert size_ts to human_readable
// characters.
to_presentation<native_word_type>(p, [](auto x) { return x; })) {
knd,
// The lambda in the next line converts, say, chars to
// size_ts, but doesn't convert size_ts to human_readable
// characters.
to_presentation<native_word_type>(p, [](auto x) { return x; })) {
throw_if_1_sided(knd);
}

Expand Down
6 changes: 3 additions & 3 deletions include/libsemigroups/kambites.tpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ namespace libsemigroups {
void Kambites<Word>::normal_form_no_checks(native_word_type& result,
native_word_type const& w0) const {
LIBSEMIGROUPS_ASSERT(!finished() || small_overlap_class() >= 4);
using words::operator+;
using words::operator+=;
using words:: operator+;
using words:: operator+=;
size_t r = UNDEFINED;
internal_type w(w0);
internal_type v(result);
Expand Down Expand Up @@ -624,7 +624,7 @@ namespace libsemigroups {
internal_type& v,
internal_type& w) const {
using words::operator+=;
size_t i, j;
size_t i, j;
std::tie(i, j) = clean_overlap_prefix_mod(w, w.size());
if (j == UNDEFINED) {
// line 39
Expand Down

0 comments on commit 46ee4b7

Please sign in to comment.