Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Fix minor doc formatting issues in dancing links
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerl13 committed Sep 21, 2022
1 parent 627b2bd commit 1c9e627
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/sage/combinat/matrices/dancing_links.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ cdef class dancing_linksWrapper:
r"""
Reinitialization of the search algorithm
This recreates an empty `dancing_links` object and adds the rows to
the instance of dancing_links.
This recreates an empty ``dancing_links`` object and adds the rows to
the instance of ``dancing_links.``
EXAMPLES::
Expand Down Expand Up @@ -805,7 +805,7 @@ cdef class dancing_linksWrapper:
INPUT:
- ``ncpus`` -- integer (default: ``None``), maximal number of
subprocesses to use at the same time. If `ncpus>1` the dancing
subprocesses to use at the same time. If ``ncpus>1`` the dancing
links problem is split into independent subproblems to allow
parallel computation. If ``None``, it detects the number of
effective CPUs in the system using
Expand Down Expand Up @@ -968,8 +968,8 @@ cdef class dancing_linksWrapper:
.. NOTE::
When comparing the time taken by method `one_solution`,
have in mind that `one_solution_using_sat_solver` first
When comparing the time taken by method ``one_solution``,
have in mind that ``one_solution_using_sat_solver`` first
creates the SAT solver instance from the dancing links
solver. This copy of data may take many seconds depending on
the size of the problem.
Expand Down Expand Up @@ -1096,8 +1096,8 @@ cdef class dancing_linksWrapper:
.. NOTE::
When comparing the time taken by method `one_solution`, have in
mind that `one_solution_using_milp_solver` first creates (and
When comparing the time taken by method ``one_solution``, have in
mind that ``one_solution_using_milp_solver`` first creates (and
caches) the MILP solver instance from the dancing links solver.
This copy of data may take many seconds depending on the size
of the problem.
Expand Down

0 comments on commit 1c9e627

Please sign in to comment.