Skip to content

Commit 65670bc

Browse files
Apply suggestions from code review
Co-authored-by: Joe Edwards <80713360+Joseph-Edwards@users.noreply.github.com>
1 parent 5454196 commit 65670bc

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

src/paths.cpp

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -594,14 +594,14 @@ This function returns the number of paths in the word graph *wg* starting at
594594
At worst :math:`O(nm)` where :math:`n` is the number of nodes and :math:`m`
595595
is the out-degree of the word graph.
596596
597-
:note:
598-
If ``libsemigroups`` is compiled with the flag ``--enable-eigen``, then
599-
this function makes use of the `Eigen` library for linear algebra (see
600-
:cite:`Guennebaud2010aa`).
601-
602-
:warning:
603-
If the number of paths exceeds ``2 ** 64``, then return value of
604-
this function will not be correct.
597+
.. note::
598+
If ``libsemigroups`` is compiled with the flag ``--enable-eigen``, then
599+
this function makes use of the `Eigen` library for linear algebra (see
600+
:cite:`Guennebaud2010aa`).
601+
602+
.. warning::
603+
If the number of paths exceeds ``2 ** 64``, then return value of
604+
this function will not be correct.
605605
)pbdoc");
606606

607607
m.def(
@@ -662,16 +662,16 @@ length in a given range.
662662
* :any:`paths.algorithm.automatic`: attempts to select the fastest algorithm of the
663663
preceding algorithms and then applies that.
664664
665-
:note:
666-
If ``libsemigroups`` is compiled with the flag ``--enable-eigen``, then
667-
this function makes use of the `Eigen` library for linear algebra (see
668-
:cite:`Guennebaud2010aa`).
665+
.. note::
666+
If ``libsemigroups`` is compiled with the flag ``--enable-eigen``, then
667+
this function makes use of the `Eigen` library for linear algebra (see
668+
:cite:`Guennebaud2010aa`).
669669
670-
:warning:
670+
.. warning::
671671
If the number of paths exceeds ``2 ** 64``, then return value of
672672
this function will not be correct.
673673
674-
:warning:
674+
.. warning::
675675
If *lgrthm* is :any:`paths.algorithm.automatic`, then it is not
676676
always the case that the fastest algorithm is used.
677677
)pbdoc");
@@ -738,16 +738,16 @@ and ending at node *target* with length in a given range.
738738
* :any:`paths.algorithm.automatic`: attempts to select the fastest algorithm of the
739739
preceding algorithms and then applies that.
740740
741-
:note:
742-
If ``libsemigroups`` is compiled with the flag ``--enable-eigen``, then
743-
this function makes use of the `Eigen` library for linear algebra (see
744-
:cite:`Guennebaud2010aa`).
741+
.. note::
742+
If ``libsemigroups`` is compiled with the flag ``--enable-eigen``, then
743+
this function makes use of the `Eigen` library for linear algebra (see
744+
:cite:`Guennebaud2010aa`).
745745
746-
:warning:
746+
.. warning::
747747
If the number of paths exceeds ``2 ** 64``, then return value of
748748
this function will not be correct.
749749
750-
:warning:
750+
.. warning::
751751
If *lgrthm* is :any:`paths.algorithm.automatic`, then it is not
752752
always the case that the fastest algorithm is used.
753753
)pbdoc");

0 commit comments

Comments
 (0)