Changeset 9d64ac in git


Ignore:
Timestamp:
Sep 17, 2014, 10:49:07 AM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '8d54773d6c9e2f1d2593a28bc68b7eeab54ed529')
Children:
258f6335e22e091c2215931d3099f5881f63f2aa
Parents:
96a18116acad728d793c95eaa3cf8b553eac13d9
Message:
fix: tr.#642 (genus(I,"pri"))
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/normal.lib

    r96a181 r9d64ac  
    21842184{
    21852185   ASSUME(0, not isQuotientRing(basering) );
    2186    if ( string(minpoly) !="0" ) 
     2186   if ( string(minpoly) !="0" )
    21872187   {
    21882188      ERROR("genus does not yet support extension fields");
     
    22882288   if(size(N[1])==1)
    22892289   {
    2290 
    22912290      poly p=I[1];
    22922291     // if(deg(squarefree(p))<deg(p)){ERROR("Curve is not reduced");}
     
    22952294   if(size(N[1]) < nvars(R0))
    22962295   {
    2297       string newvar=string(N[1]);
    2298       execute("ring R=("+charstr(R0)+"),("+newvar+"),dp;");
    2299       ideal I =imap(R0,I);
    2300       attrib(I,"isSB",1);
     2296     string newvar=string(N[1]);
     2297     execute("ring R=("+charstr(R0)+"),("+newvar+"),dp;");
     2298     ideal I =imap(R0,I);
     2299     if((ringlist(R0)[3][1][1]=="dp")&&(size(ringlist(R0)[3])==2))
     2300     {
     2301       attrib(I,"isSB",1);
     2302     }
     2303     else
     2304     {
     2305       I=std(I);
     2306     }
    23012307   }
    23022308   else
  • Tst/Long/ok_l2.lst

    r96a181 r9d64ac  
     1bug_tr642
    12king_3_colors_l
    23modstd_l
Note: See TracChangeset for help on using the changeset viewer.