Skip to content

Commit c823039

Browse files
committed
fix a bunch of typos and add some spaces after commas
1 parent 1be0a58 commit c823039

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed

src/sage/algebras/fusion_rings/f_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1991,7 +1991,7 @@ def _get_explicit_solution(self, eqns=None, verbose=True):
19911991

19921992
def find_orthogonal_solution(self, checkpoint=False, save_results='', warm_start='', use_mp=True, verbose=True):
19931993
r"""
1994-
Solve the the hexagon and pentagon relations, along with
1994+
Solve the hexagon and pentagon relations, along with
19951995
orthogonality constraints, to evaluate an orthogonal F-matrix.
19961996
19971997
INPUT:

src/sage/algebras/hecke_algebras/cubic_hecke_algebra.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def matrix(self, subdivide=False, representation_type=None, original=False):
352352
[(-2*a + u)*b - 2*a^2 + 2*u*a - v b 0]
353353
[ b 1 a]
354354
355-
using the the ``representation_type`` option::
355+
using the ``representation_type`` option::
356356
357357
sage: CHA3.<c0, c1> = algebras.CubicHecke(3) # optional gap3
358358
sage: chevie = CHA3.repr_type.SplitIrredChevie # optional gap3
@@ -364,7 +364,7 @@ def matrix(self, subdivide=False, representation_type=None, original=False):
364364
[ b 0]
365365
[a^2 - u*a + v -b - a + u]
366366
367-
using the the ``original`` option::
367+
using the ``original`` option::
368368
369369
sage: c0mo = c0.matrix(original=True)
370370
sage: c0mo_ch = c0.matrix(representation_type=chevie, original=True) # optional gap3

src/sage/homology/homology_vector_space_with_basis.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,7 +1253,7 @@ def _acted_upon_(self, a, self_on_left):
12531253
ret = CombinatorialFreeModule.Element._acted_upon_(self, a, self_on_left)
12541254
if ret is not None: # did the scalar action
12551255
return ret
1256-
if self_on_left: # i.e., module element on left
1256+
if self_on_left: # i.e., module element on left
12571257
a = a.antipode()
12581258
b = a.change_basis('adem')
12591259
ans = self.parent().zero()
@@ -1283,7 +1283,7 @@ def steenrod_module_map(self, deg_domain, deg_codomain, side='left'):
12831283
the action as a left module action or a right module
12841284
12851285
We will write this with respect to the left action;
1286-
for the right action, just switch all of the the tensors.
1286+
for the right action, just switch all of the tensors.
12871287
Writing `m` for ``deg_domain`` and `n` for ``deg_codomain``, this
12881288
returns `A^{n-m} \otimes H^{m} \to H^{n}`, one single
12891289
component of the map making `H` into an `A`-module.

src/sage/rings/complex_interval.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2237,7 +2237,7 @@ cdef _circle_invert_standard(
22372237
# Consider the images
22382238
# f(xmin + ymin * I), ..., f(xmax + ymax * I)
22392239
# of the four corners of the input rect under inversion f.
2240-
# Now consider the the axis-parallel rectangle R that these images span.
2240+
# Now consider the axis-parallel rectangle R that these images span.
22412241
# In general, the image of the input rect might not be contained in R.
22422242
# In case 1, however, (and only in case 1) it is and we furthermore know
22432243
# which image is mapped to which edge of R. Thus, we have:

src/sage/rings/polynomial/polynomial_element.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2280,7 +2280,7 @@ cdef class Polynomial(CommutativePolynomial):
22802280
22812281
- ``degree`` -- ``None`` or positive integer (default: ``None``).
22822282
Used for polynomials over finite fields. If ``None``, returns
2283-
the the first factor found (usually the smallest). Otherwise,
2283+
the first factor found (usually the smallest). Otherwise,
22842284
attempts to return an irreducible factor of ``self`` of chosen
22852285
degree ``degree``.
22862286

src/sage/schemes/elliptic_curves/ell_number_field.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,8 @@ def simon_two_descent(self, verbose=0, lim1=2, lim3=4, limtriv=2,
290290
# time (when known_points may have increased) will not cause
291291
# another execution of simon_two_descent.
292292
try:
293-
result = self._simon_two_descent_data[lim1,lim3,limtriv,maxprob,limbigprime]
293+
result = self._simon_two_descent_data[lim1, lim3, limtriv,
294+
maxprob, limbigprime]
294295
if verbose == 0:
295296
return result
296297
except AttributeError:
@@ -2343,7 +2344,7 @@ def gens(self, **kwds):
23432344
sage: gg=E.gens(lim3=13); gg # long time (about 4s)
23442345
[(... : 1)]
23452346
2346-
Check that the the point found has infinite order, and that it is on the curve::
2347+
Check that the point found has infinite order, and that it is on the curve::
23472348
23482349
sage: P=gg[0]; P.order() # long time
23492350
+Infinity
@@ -2447,7 +2448,7 @@ def period_lattice(self, embedding):
24472448
-0.14934463314391922099120107422 - 2.0661954627294548995621225062*I)
24482449
"""
24492450
from sage.schemes.elliptic_curves.period_lattice import PeriodLattice_ell
2450-
return PeriodLattice_ell(self,embedding)
2451+
return PeriodLattice_ell(self, embedding)
24512452

24522453
def real_components(self, embedding):
24532454
"""

0 commit comments

Comments
 (0)