passing minpoly to Singular now precedes defining 0,1,-1

passing minpoly to Singular must precede
CreateHomalgExternalRing as otherwise
the definition of 0,1,-1 would precede "minpoly=";
causing an error in the new Singular

From: Singular <trac@mathematik.uni-kl.de>
Subject: Re: "Do not reply" #494: Bug in der spielwiese
Date: 24. Juni 2013 17:19:18 MESZ
Reply-To: trac@mathematik.uni-kl.de

\#494: Bug in der spielwiese
-----------------------+------------------------------
 Reporter:  barakat   |      Owner:  somebody
     Type:  bug       |     Status:  new
 Priority:  minor     |  Milestone:  3-2-0 and higher
Component:  dontKnow  |    Version:  3-1-6
Resolution:            |   Keywords:
-----------------------+------------------------------

Comment (by hannes):

The following lines explain it:
{{{
686     number homalg_variable_11 = 0;
687     number homalg_variable_12 = 1;
688     number homalg_variable_13 = -1;
689     minpoly=Z(4)^2+Z(4)+1;
}}}
Setting minpoly removed all variables which depend on the ring
(homalg_variable_11 etc.)
from the current ring.

--
Ticket URL: <http://www.singular.uni-kl.de:8002/trac/ticket/494#comment:1>
Singular <http://www.singular.uni-kl.de/>
Singular