Changeset 53238a in git


Ignore:
Timestamp:
Aug 26, 2018, 11:33:13 AM (6 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
1eabfccc017851ee1d256ef319925d2d4a5e35cd
Parents:
ee2d4d9162fd2e873069727d177f55017eccc232
Message:
fix: primdec.lib::prepareQuotientring: Float
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/primdec.lib

    ree2d4d r53238a  
    18981898    if (typeof(rl[1])=="list")
    18991899    {
     1900      if(size(rl[1])==4)
     1901      {
    19001902        list rl1=rl[1];
    19011903        list rl2=rl[2];
     
    19071909        rl[2]=list(rl2[1..nnp]);
    19081910        rl[3]=list(list(order,1:nnp),list("C",0));
     1911      }
     1912      else /*Float(..), Complex(..) */
     1913      {
     1914        list p=rl[1];
     1915        list rl2=rl[2];
     1916        rl[1]=list(p,
     1917            list(rl2[nnp+1..nvars(basering)]),
     1918            list(list("lp",1:(nvars(basering)-nnp))),
     1919            ideal(0));
     1920        rl[2]=list(rl2[1..nnp]);
     1921        rl[3]=list(list(order,1:nnp),list("C",0));
     1922      }
    19091923    }
    19101924    else
Note: See TracChangeset for help on using the changeset viewer.