Skip to content

Commit 7ae7a2a

Browse files
fchapotond-torrance
authored andcommitted
some typos and python3
1 parent 06a6fc4 commit 7ae7a2a

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

M2/Macaulay2/d/binding.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ export fixedPostfixOperators := array(SymbolClosure)(SemicolonS,commaS);
538538
-- augmented assignment operators --
539539
------------------------------------
540540
541-
-- same precendence as =
541+
-- same precedence as =
542542
saveprec := prec;
543543
prec = EqualW.parse.precedence;
544544

M2/Macaulay2/e/coeffrings.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,8 @@ class CoefficientRingR
258258
void divide(elem &result, elem a, elem b) const { result = R->divide(a, b); }
259259
void to_ring_elem(ring_elem &result, const elem &a) const { result = a; }
260260
void from_ring_elem(elem &result, const ring_elem &a) const { result = a; }
261-
// do not make the return type here a reference, otherwise dangling refrences
262-
// become very easy to make
261+
// do not make the return type here a reference, otherwise
262+
// dangling references become very easy to make
263263
elem from_ring_elem_const(const ring_elem &a) const { return a; }
264264
void swap(elem &a, elem &b) const
265265
{

M2/Macaulay2/e/gb-f4/PolynomialList.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ class PolynomialListStreamCollector
209209
using Component = BasicPolyListStreamCollector::Component;
210210

211211
private:
212-
// We store these, as we need to be able to repsond to what they are,
212+
// We store these, as we need to be able to respond to what they are,
213213
// but we don't use them here at all.
214214
Coefficient mModulus;
215215
VarIndex mVarCount;

M2/Macaulay2/e/gb-f4/SPairs.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// insert each spair directly.
1818
//
1919
// Grabbing a set of spairs to do (but if interrupted, don't lose the pairs!)
20-
// sort them? at leat by degree...
20+
// sort them? at least by degree...
2121
// how to remove a pair that isn't required? (the more complicated spair approach).
2222

2323
// Maybe what I should do before meeting Frank:

M2/Macaulay2/e/gb-f4/TODO-refactor-f4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Meeting on 11/2/2023:
1111

1212
For week of June 12, 2023:
1313
a. MonomialHashTable
14-
b. Mike: do (first versino of) the translation from M2 matrices to a Basis/list of polynomials/vectrs
14+
b. Mike: do (first version of) the translation from M2 matrices to a Basis/list of polynomials/vectrs
1515
Basis (at least a simple version)
1616
c. Monomial lookup table
1717
d. SPairs
@@ -23,7 +23,7 @@ CLion
2323

2424
To be done for GB F4 parallel.
2525

26-
[ ] MonomialHashTable for ring monomials for repesenting a single monomial in
26+
[ ] MonomialHashTable for ring monomials for representing a single monomial in
2727
a polynomial or a column of a macaulay matrix
2828
(but in either case, we need the component)
2929
[ ] Monomial lookup table for divisibility

M2/Macaulay2/m2/document.m2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ makeDocumentTag String := opts -> key -> (
212212
fixup DocumentTag := DocumentTag => tag -> (
213213
tag' := if (rawdoc := fetchAnyRawDocumentation tag) =!= null then rawdoc.DocumentTag else tag;
214214
if package tag =!= package tag' then printerr("warning: ambiguous reference ",
215-
format toString tag, " and ", format toString tag', " when processsing ",
215+
format toString tag, " and ", format toString tag', " when processing ",
216216
toString locate currentDocumentTag);
217217
tag')
218218

M2/Macaulay2/man/M2.1.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ print this brief help message and exit
1919
print no backtrace after error
2020
.TP
2121
\fB\-\-copyright\fR
22-
display full copyright messasge
22+
display full copyright message
2323
.TP
2424
\fB\-\-no\-debug\fR
2525
do not enter debugger upon error

M2/Macaulay2/packages/Python.m2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ pythonHelp
800800
quit
801801

802802
runSimpleString "x=2"
803-
runSimpleString "print x"
803+
runSimpleString "print(x)"
804804
rs "dir()"
805805
rs "dict"
806806
rs "__builtins__.keys()"
@@ -874,7 +874,7 @@ sage "preparse"
874874
sage "preparse('x=1')"
875875
sage "x=2^100"
876876
sage "x"
877-
sage "R.<x,y,z> = QQ[];;"
877+
sage "R.<x,y,z> = QQ[];"
878878
sage "R"
879879
sage "x = var('x');"
880880
sage "plot(sin(x))"

0 commit comments

Comments
 (0)