I am computing the signature of a quadratic form having entries 0, 1, -1/2,
-sqrt(2)/2. I noticed that the result of signature_vector() is different if
we treat the number sqrt(2) as a cyclotomic or as a real number. Please
look at the example:
sage: K.=CyclotomicField(8)
sage: a=z-z^3 # a is
The method set_restriction() has probably been implemented only for cases
where the domain of a is a strict subset of the domain of b. When both
domains coincide, instead of using b.set_restriction(a), I would have
written
sage: b = a.copy()
However, since M is a subset of itself,. the reporte
With a Python 3 build of Sage, there are three files which exhibit failures
only (or primarily?) when running the Sage patchbot. This is being tracked
at https://trac.sagemath.org/ticket/28622. Can anyone help figure out the
problem and how to fix it? To see the problem, cd to SAGE_ROOT, run Pyt