-
Notifications
You must be signed in to change notification settings - Fork 46
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
Apply some more linting rules #601
Conversation
312875d
to
63afa08
Compare
63afa08
to
385b107
Compare
local D; | ||
D := MakeImmutable(DigraphFromSparse6String(IsMutableDigraph, s)); | ||
SetIsSymmetricDigraph(D, true); | ||
return D; | ||
end); | ||
|
||
InstallMethod(DigraphFromSparse6String, "for a function and a string", | ||
[IsFunction, IsString], | ||
DigraphFromSparse6StringCons); | ||
[IsFunction, IsString], DigraphFromSparse6StringCons); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I think Reimer Behrens once said: "vertical screen real estate is at a premium", so one less line is a good thing from this perspective.
fail, | ||
"AutomorphismGroup")[1]; | ||
end); | ||
[IsDigraph, IsHomogeneousList], {D, colors} -> BLISS_DATA(D, colors, fail)[1]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We definitely don't want the last argument in these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely don't, I think this was a remnant of some earlier code.
No description provided.