rgugliel / AlVin

A C++ implementation of the Vinberg's algorithm for Q, Q( sqrt(d) ) and Q( cos(2 pi / 7) )
GNU General Public License v3.0
0 stars 3 forks source link

Error on macOS over RC7 #8

Open sashakolpakov opened 4 years ago

sashakolpakov commented 4 years ago

The following input ./alvin -k=rc7 -qf [-1,0,0], 1, 1, 1, 1 gives error ERROR: No quadratic form given Using ./alvin -k=rc7 -qf "[-1,0,0], 1, 1, 1, 1" or ./alvin -k=rc7 -qf "[-1,0,0]", 1, 1, 1, 1 instead does not help. Using ./alvin -k=rc7 -qf "-1,0,0", 1, 1, 1, 1 leads to Quadratic form (4,1): -1, 1, 1, 1, 1 Field of definition: Q Vectors: e1 = (0, -1, 1, 0, 0) e2 = (0, 0, -1, 1, 0) e3 = (0, 0, 0, -1, 1) e4 = (0, 0, 0, 0, -1) e5 = (1, 1, 1, 1, 0) Algorithm ended even though the field is not Q, and the form <-1,1,1,1,1> is not admissible over RC7.

rgugliel commented 4 years ago

Dear Sasha, Please do not use spaces when specifying the quadratic form, as they are used to separate arguments:

./alvin -k=rc7 -qf [-1,0,0],1,1,1,1

or

./alvin -k=rc7 -qf "[-1,0,0],1,1,1,1"

should work well.

sashakolpakov commented 4 years ago

Sadly, the problem still persists.