Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mistake in the doc of Steiner Quadruple Systems #14696

Closed
nathanncohen mannequin opened this issue Jun 6, 2013 · 9 comments
Closed

Mistake in the doc of Steiner Quadruple Systems #14696

nathanncohen mannequin opened this issue Jun 6, 2013 · 9 comments

Comments

@nathanncohen
Copy link
Mannequin

nathanncohen mannequin commented Jun 6, 2013

Gloops.... The mistake is just in the doc, not in the code ! The function designs.steiner_quadruple_system checks that the system exist for all integers n equal to 2 or 4 mod 6 ^^;

Nathann

CC: @vbraun

Component: documentation

Author: Nathann Cohen

Reviewer: Punarbasu Purkayastha

Merged: sage-5.11.rc0

Issue created by migration from https://trac.sagemath.org/ticket/14696

@nathanncohen nathanncohen mannequin added this to the sage-5.11 milestone Jun 6, 2013
@nathanncohen nathanncohen mannequin added the s: needs review label Jun 6, 2013
@ppurka
Copy link
Member

ppurka commented Jul 4, 2013

comment:2

More work for you: the file is littered with stuff written like 2,4 [12]. I think it should be written as 2,4 \mod 12 since it is going to be rendered in latex. I haven't seen this notation a [b] to denote a mod b before.

@vbraun
Copy link
Member

vbraun commented Jul 4, 2013

comment:3

I've seen that with round brackets, usually the mod is spelled out as a \equiv b (mod c) but sometimes people abbreviate it to a \equiv b (c). Maybe square brackets are a French thing?

@nathanncohen
Copy link
Mannequin Author

nathanncohen mannequin commented Jul 4, 2013

comment:4

Patch updated !

I went into Florent's office and asked him if he had ever used this bracket notation, and he told me that he rarely if ever used it. That he mostly saw \pmod everywhere.

And I am almost sure that I never wrote "mod" of my whole life, and always used these brackets.. In lectures, in exams, everywhere :-P

Soooooooooooooo maybe I'm mad, but I still updated the patch. I also renamed an "height" into a "eight", because I am an idiot.

Turns out that this review was more complicated than expected :-D

Nathann

@ppurka
Copy link
Member

ppurka commented Jul 4, 2013

comment:5

One typo: the first mod should be \pmod.

267	    `n \equiv 1 mod 6` or `n \equiv 3 \pmod 6`, in which case

Turns out that this review was more complicated than expected :-D

Yes, that's the problem with the old code in sage. If you touch at one place, you have to touch it at many places. ;)

@nathanncohen
Copy link
Mannequin Author

nathanncohen mannequin commented Jul 4, 2013

comment:6

Donnnnneeeeeeee !!

Nathann

@ppurka
Copy link
Member

ppurka commented Jul 4, 2013

Reviewer: Punarbasu Purkayastha

@ppurka
Copy link
Member

ppurka commented Jul 4, 2013

comment:7

Attachment: trac_14696.patch.gz

Great! Looks good to me. Thanks :)

@nathanncohen
Copy link
Mannequin Author

nathanncohen mannequin commented Jul 4, 2013

comment:8

Thanks for the review ! And I owe you one :-)

Nathann

@jdemeyer
Copy link

Merged: sage-5.11.rc0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants