-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent creation of groups of floats
Fixes part of issue #823.
- Loading branch information
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Disallow creating groups with non-associative generators. | ||
# See issue #823 | ||
gap> Group(2.0); | ||
#I no groups of floats allowed because of incompatible ^ | ||
Error, usage: Group(<gen>,...), Group(<gens>), Group(<gens>,<id>) | ||
gap> Group(2.0,3.0); | ||
#I no groups of floats allowed because of incompatible ^ | ||
Error, usage: Group(<gen>,...), Group(<gens>), Group(<gens>,<id>) | ||
gap> Group([], 1.0); | ||
<trivial group> | ||
gap> Group([2.0], 1.0); | ||
#I no groups of floats allowed because of incompatible ^ | ||
Error, usage: Group(<gen>,...), Group(<gens>), Group(<gens>,<id>) |