Skip to content

Commit

Permalink
Fix some spelling mistakes highlighted by new codespell version
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-mitchell committed Oct 7, 2023
1 parent 80ecf4e commit 167a5d8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/source/matrix/ntpmat.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This page describes the functionality for :math:`n \times n` matrices over the
finite quotient of the usual semiring of natural number by the congruence
:math:`t = t + p` for arbitrary :math:`n`, :math:`t`, and :math:`p`. The value
:math:`t` is referred to as the *threshold* and :math:`p` is called the
*period*. The matrices of this type are referred to by the acroynm **ntp**
*period*. The matrices of this type are referred to by the acronym **ntp**
matrices, for "natural threshold period". The :cpp:any:`NTPSemiring` has
elements :math:`\{0, 1, ..., t, t + 1, ..., t + p - 1\}` where :math:`t`, and
:math:`p` are the threshold and period, respectively; addition and
Expand Down
2 changes: 1 addition & 1 deletion include/libsemigroups/pbr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ namespace libsemigroups {
//! \no_libsemigroups_except
explicit PBR(size_t n);

//! Construct from adjancencies \c 1 to \c n and \c -1 to \c
//! Construct from adjacencies \c 1 to \c n and \c -1 to \c
//! -n.
//!
//! The parameters \p left and \p right should be containers of
Expand Down
2 changes: 1 addition & 1 deletion src/todd-coxeter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2270,7 +2270,7 @@ namespace libsemigroups {
push_settings();
do_pop_settings = true;
// The call to process_deductions in the main loop below could
// potentially accummulate large numbers of preferred definitions in
// potentially accumulate large numbers of preferred definitions in
// the queue if the preferred_defs() setting is
// options::preferred_defs::deferred, so we change it.
preferred_defs(options::preferred_defs::none);
Expand Down

0 comments on commit 167a5d8

Please sign in to comment.