Changeset 808e44 in git


Ignore:
Timestamp:
Oct 8, 2018, 11:23:16 AM (6 years ago)
Author:
Karim Abou Zeid <karim23697@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
cce6701b31ac1c7276dfdfbb97d3459ae49597a6
Parents:
3e7454022c89e5783f67c3cd5287b211ea27beac
Message:
Apply patch from hans (don't use division in letterplace ring)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/freegb.lib

    r3e7454 r808e44  
    36593659
    36603660static proc getlpCoeffs(poly q, poly p)
    3661 {list R; poly m; intvec cq,t,lv,rv,bla;
     3661{list R; intvec cq,t,lv,rv,bla;
    36623662 int n = attrib(basering,"isLetterplaceRing"); int d = attrib(basering,"uptodeg");
    36633663 int i;
    3664  m = p/q;
    3665  cq = leadexp(m);
     3664 cq = leadexp(p)-leadexp(q); /* p/q */
    36663665 for (i = 1; i<= d; i++)
    36673666 {bla = cq[((i-1)*n+1)..(i*n)];
Note: See TracChangeset for help on using the changeset viewer.