Skip to content

Commit

Permalink
sagemathgh-39330: fix a bunch of typos and add some spaces after commas
Browse files Browse the repository at this point in the history
just fixing a few usual typos

### 📝 Checklist

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.

URL: sagemath#39330
Reported by: Frédéric Chapoton
Reviewer(s): Vincent Macri
  • Loading branch information
Release Manager committed Jan 16, 2025
2 parents 5428cab + c823039 commit 4efdd2b
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 13 deletions.
4 changes: 2 additions & 2 deletions build/pkgs/configure/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
tarball=configure-VERSION.tar.gz
sha1=852d0d200a6a73aa5ddb9e00874cbe4a61c211e9
sha256=c4b089d90850dfdf15b905f66e4f6a0d961b96eb0663d8603beaff1a9efb2cbe
sha1=b79cb72625e1d309aedbcfccec6d3fe95285f41a
sha256=df8b16fae6e8facd9ef1f3190bf10a9a4c7d3d0acd5ebd13e3a7a539045b29cb
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a2ba1f943f88775218c385efe55509c4548d1b44
66623f6c03c69f4552f04e4cfcc3d3a2139c0010
2 changes: 1 addition & 1 deletion src/sage/algebras/fusion_rings/f_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -1991,7 +1991,7 @@ def _get_explicit_solution(self, eqns=None, verbose=True):

def find_orthogonal_solution(self, checkpoint=False, save_results='', warm_start='', use_mp=True, verbose=True):
r"""
Solve the the hexagon and pentagon relations, along with
Solve the hexagon and pentagon relations, along with
orthogonality constraints, to evaluate an orthogonal F-matrix.
INPUT:
Expand Down
4 changes: 2 additions & 2 deletions src/sage/algebras/hecke_algebras/cubic_hecke_algebra.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def matrix(self, subdivide=False, representation_type=None, original=False):
[(-2*a + u)*b - 2*a^2 + 2*u*a - v b 0]
[ b 1 a]
using the the ``representation_type`` option::
using the ``representation_type`` option::
sage: CHA3.<c0, c1> = algebras.CubicHecke(3) # optional gap3
sage: chevie = CHA3.repr_type.SplitIrredChevie # optional gap3
Expand All @@ -364,7 +364,7 @@ def matrix(self, subdivide=False, representation_type=None, original=False):
[ b 0]
[a^2 - u*a + v -b - a + u]
using the the ``original`` option::
using the ``original`` option::
sage: c0mo = c0.matrix(original=True)
sage: c0mo_ch = c0.matrix(representation_type=chevie, original=True) # optional gap3
Expand Down
4 changes: 2 additions & 2 deletions src/sage/homology/homology_vector_space_with_basis.py
Original file line number Diff line number Diff line change
Expand Up @@ -1253,7 +1253,7 @@ def _acted_upon_(self, a, self_on_left):
ret = CombinatorialFreeModule.Element._acted_upon_(self, a, self_on_left)
if ret is not None: # did the scalar action
return ret
if self_on_left: # i.e., module element on left
if self_on_left: # i.e., module element on left
a = a.antipode()
b = a.change_basis('adem')
ans = self.parent().zero()
Expand Down Expand Up @@ -1283,7 +1283,7 @@ def steenrod_module_map(self, deg_domain, deg_codomain, side='left'):
the action as a left module action or a right module
We will write this with respect to the left action;
for the right action, just switch all of the the tensors.
for the right action, just switch all of the tensors.
Writing `m` for ``deg_domain`` and `n` for ``deg_codomain``, this
returns `A^{n-m} \otimes H^{m} \to H^{n}`, one single
component of the map making `H` into an `A`-module.
Expand Down
2 changes: 1 addition & 1 deletion src/sage/rings/complex_interval.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2237,7 +2237,7 @@ cdef _circle_invert_standard(
# Consider the images
# f(xmin + ymin * I), ..., f(xmax + ymax * I)
# of the four corners of the input rect under inversion f.
# Now consider the the axis-parallel rectangle R that these images span.
# Now consider the axis-parallel rectangle R that these images span.
# In general, the image of the input rect might not be contained in R.
# In case 1, however, (and only in case 1) it is and we furthermore know
# which image is mapped to which edge of R. Thus, we have:
Expand Down
2 changes: 1 addition & 1 deletion src/sage/rings/polynomial/polynomial_element.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2280,7 +2280,7 @@ cdef class Polynomial(CommutativePolynomial):
- ``degree`` -- ``None`` or positive integer (default: ``None``).
Used for polynomials over finite fields. If ``None``, returns
the the first factor found (usually the smallest). Otherwise,
the first factor found (usually the smallest). Otherwise,
attempts to return an irreducible factor of ``self`` of chosen
degree ``degree``.
Expand Down
7 changes: 4 additions & 3 deletions src/sage/schemes/elliptic_curves/ell_number_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,8 @@ def simon_two_descent(self, verbose=0, lim1=2, lim3=4, limtriv=2,
# time (when known_points may have increased) will not cause
# another execution of simon_two_descent.
try:
result = self._simon_two_descent_data[lim1,lim3,limtriv,maxprob,limbigprime]
result = self._simon_two_descent_data[lim1, lim3, limtriv,
maxprob, limbigprime]
if verbose == 0:
return result
except AttributeError:
Expand Down Expand Up @@ -2343,7 +2344,7 @@ def gens(self, **kwds):
sage: gg=E.gens(lim3=13); gg # long time (about 4s)
[(... : 1)]
Check that the the point found has infinite order, and that it is on the curve::
Check that the point found has infinite order, and that it is on the curve::
sage: P=gg[0]; P.order() # long time
+Infinity
Expand Down Expand Up @@ -2447,7 +2448,7 @@ def period_lattice(self, embedding):
-0.14934463314391922099120107422 - 2.0661954627294548995621225062*I)
"""
from sage.schemes.elliptic_curves.period_lattice import PeriodLattice_ell
return PeriodLattice_ell(self,embedding)
return PeriodLattice_ell(self, embedding)

def real_components(self, embedding):
"""
Expand Down

0 comments on commit 4efdd2b

Please sign in to comment.