Changeset 48d3aa in git


Ignore:
Timestamp:
Aug 4, 2014, 7:12:10 PM (10 years ago)
Author:
Jakob Kröker <kroeker@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
53f0fdd98dedf0bdee39b301dff637963815094b
Parents:
1becceace5fa1d9bbbf815b5ac22752118958578
git-author:
Jakob Kröker <kroeker@math.uni-hannover.de>2014-08-04 19:12:10+02:00
git-committer:
Jakob Kröker <kroeker@math.uni-hannover.de>2014-08-06 15:18:27+02:00
Message:
bugfix for ticket 574
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/primdecint.lib

    r1beccea r48d3aa  
    6767
    6868
    69    if(deg(I[1]) == 0)
     69   if(size(I)==1 && deg(I[1]) == 0)
    7070   {
    7171      ideal J = I;
     
    9595      number q=imap(R,q);
    9696      //=== computes the primes occuring in a generator of I intersect Z
    97 
    9897      list L = primefactors(q);
    9998
     
    171170            i_sleep = system("sh", "sleep "+string(t));
    172171         }
    173 
    174172      }
    175173      else
     
    177175         for(j=1;j<=size(L[2]);j++)
    178176         {
    179             A[size(A)+1] = modp(J, L[1][j], L[2][j]);
     177            p=int(L[1][j]);
     178            nu=int(L[2][j]);
     179            A[size(A)+1] = modp(J, p,nu );
    180180         }
    181181      }
  • Tst/Short.lst

    r1beccea r48d3aa  
    5555Short/bug_527_s.tst
    5656Short/bug_529.tst
     57Short/bug_574.tst
    5758Short/bug_597.tst
    5859Short/bug_53.tst
Note: See TracChangeset for help on using the changeset viewer.