| 1 | initial version |
Regarding this:
%run UndirectedGeneratingSetsedited.gap File "/home/user/UndirectedGeneratingSetsedited.gap", line 12 gap.eval("return ForAll(S, s -> not(s in Subgroup(G, Filtered(S, t -> (t <> s))))); ^ SyntaxError: EOL while scanning string literal
This error means that while parsing your code, there was an opening quote signalling the beginning of a string, but by the end of the line no closing quote was found.
The thing is, you put a newline inside a string delimited by " ... ".
Instead, either remove the newline, or use triple quotes: ''' ... ''' or """ ... """.
| 2 | No.2 Revision |
Regarding this:
%run UndirectedGeneratingSetsedited.gap File "/home/user/UndirectedGeneratingSetsedited.gap", line 12 gap.eval("return ForAll(S, s -> not(s in Subgroup(G, Filtered(S, t -> (t <> s))))); ^ SyntaxError: EOL while scanning string literal
This error means that while parsing your code, there was an opening quote signalling the beginning of a string, but by the end of the line no closing quote was found.
The thing is, you put a newline inside a string delimited by " ... ".
Instead, either remove the newline, or use triple quotes: ''' ... ''' or """ ... """.
Also, consider using libgap.eval instead of gap.eval.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.