Skip to content

Commit

Permalink
Merge pull request #1739 from mezzarobba/doc_typos
Browse files Browse the repository at this point in the history
:func:``foo`` → :func:`foo`
  • Loading branch information
fredrik-johansson authored Jan 23, 2024
2 parents 3ff49ec + 3f5126a commit 59f1830
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions doc/source/flint.rst
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ Input/Output

This functions is an extensions of the C standard library functions
``sprintf``. It is currently advised to not use this function as it is
currently not coherent with :func:``flint_printf``.
currently not coherent with :func:`flint_printf`.

.. function:: int flint_scanf(const char * str, ...)
int flint_fscanf(FILE * f, const char * str, ...)
Expand All @@ -424,7 +424,7 @@ Exceptions

.. function:: void flint_set_abort(void (* func)(void))

Sets the :func:``flint_abort`` function to call ``func`` instead of
Sets the :func:`flint_abort` function to call ``func`` instead of
``abort``.

.. enum:: flint_err_t
Expand Down
4 changes: 2 additions & 2 deletions doc/source/fmpz_mpoly.rst
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ Internal Functions

.. function:: int fmpz_mpoly_divides_heap_threaded(fmpz_mpoly_t Q, const fmpz_mpoly_t A, const fmpz_mpoly_t B, const fmpz_mpoly_ctx_t ctx)

The same method as used as in :func:``fmpz_mpoly_divides_monagan_pearce``,
The same method as used as in :func:`fmpz_mpoly_divides_monagan_pearce`,
but is also multi-threaded.

.. note::
Expand All @@ -796,7 +796,7 @@ Internal Functions
``#ifdef fmpz_mpoly_divides_heap_threaded``.

Note that, if the system is known to be strongly ordered, the underlying
algorithm for this function is utilized in :func:``fmpz_mpoly_divides``.
algorithm for this function is utilized in :func:`fmpz_mpoly_divides`.
Hence, you may find it easier to use this function instead if the C
preprocessor is not available.

Expand Down
2 changes: 1 addition & 1 deletion doc/source/nmod_mpoly.rst
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ The division functions assume that the modulus is prime.
``#ifdef nmod_mpoly_divides_heap_threaded``.

Note that, if the system is known to be strongly ordered, the underlying
algorithm for this function is utilized in :func:``nmod_mpoly_divides``.
algorithm for this function is utilized in :func:`nmod_mpoly_divides`.
Hence, you may find it easier to use this function instead if the C
preprocessor is not available.

Expand Down

0 comments on commit 59f1830

Please sign in to comment.