Skip to content

Commit

Permalink
Fix small bug and warning
Browse files Browse the repository at this point in the history
  • Loading branch information
reiniscirpons committed Oct 7, 2024
1 parent 22297bd commit 3ff1fbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions include/libsemigroups/sims.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2529,7 +2529,7 @@ namespace libsemigroups {
cbegin_right_generating_pairs(Presentation<word_type> const& p,
WordGraph<Node> const& wg) {
validate_right_congruence(p, wg);
return cbegin_right_generating_pairs(p, wg);
return cbegin_right_generating_pairs_no_checks(p, wg);
}

//! \ingroup congruences_group
Expand Down Expand Up @@ -3241,7 +3241,7 @@ namespace libsemigroups {
class SimsRefinerIdeals {
private:
using node_type = uint32_t;
using KnuthBendix_ = KnuthBendix<detail::RewriteFromLeft>;
using KnuthBendix_ = KnuthBendix<>;
std::vector<KnuthBendix_> _knuth_bendices;

public:
Expand Down
2 changes: 1 addition & 1 deletion src/sims.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1459,7 +1459,7 @@ namespace libsemigroups {

} // namespace sims

[[nodiscard]] std::string to_human_readable_repr(SimsStats const& x) {
[[nodiscard]] std::string to_human_readable_repr(SimsStats const&) {
return fmt::format("<SimsStats object>");
}

Expand Down

0 comments on commit 3ff1fbd

Please sign in to comment.