Skip to content

Commit 71eb6b3

Browse files
committed
Use LaTeX commands instead of Unicode characters
1 parent 94fe540 commit 71eb6b3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/sage/combinat/matrices/dancing_links.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ cdef class dancing_linksWrapper:
886886
Return the SAT solver solving an equivalent problem.
887887
888888
Note that row index `i` in the dancing links solver corresponds to
889-
the boolean variable index `ì+1` for the SAT solver to avoid
889+
the boolean variable index `i+1` for the SAT solver to avoid
890890
the variable index `0`.
891891
892892
See also :mod:`sage.sat.solvers.satsolver`.

src/sage/stats/distributions/discrete_gaussian_integer.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ r"""
88
Discrete Gaussian Samplers over the Integers
99
1010
This class realizes oracles which returns integers proportionally to
11-
`\exp(-(x-c)^2/(^2))`. All oracles are implemented using rejection sampling.
11+
`\exp(-(x-c)^2/(2\sigma^2))`. All oracles are implemented using rejection sampling.
1212
See :func:`DiscreteGaussianDistributionIntegerSampler.__init__` for which algorithms are
1313
available.
1414
@@ -18,7 +18,7 @@ AUTHORS:
1818
1919
EXAMPLES:
2020
21-
We construct a sampler for the distribution `D_{3,c}` with width `σ=3` and center `c=0`::
21+
We construct a sampler for the distribution `D_{3,c}` with width `\sigma=3` and center `c=0`::
2222
2323
sage: from sage.stats.distributions.discrete_gaussian_integer import DiscreteGaussianDistributionIntegerSampler
2424
sage: sigma = 3.0

0 commit comments

Comments
 (0)