Changeset 9106ba in git


Ignore:
Timestamp:
Jul 5, 2019, 1:15:29 PM (5 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
bc4eb794179fe80f037ef650a09e4a41d316208e
Parents:
d7986423e035a446daf68277d8b09647572897c4e7e3ebfa003ccb14c8ecb93fe17be8d05279a7e7
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2019-07-05 13:15:29+02:00
git-committer:
GitHub <noreply@github.com>2019-07-05 13:15:29+02:00
Message:
Merge pull request #937 from steenpass/execute

fix create_ring() in gitfan.lib
Location:
Singular/LIB
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/algebra.lib

    rd79864 r9106ba  
    278278  //with the ring k[y(0),...,y(n)] is computed, the result is ker
    279279   execute ("ring r1= ("+charstr(basering)+"),(x(1..n),y(0..z)),lp;");
    280  //  execute ("ring r1= ("+charstr(basering)+"),(y(0..z),x(1..n)),dp;");
    281280  if (mp!="0")
    282281  { execute ("minpoly=number("+mp+");"); }
  • Singular/LIB/gitfan.lib

    rd79864 r9106ba  
    266266  newVars = newVars+string(var(k));
    267267  newWeightVector[n]=weightVector[k];
    268   execute("ring ringForSaturation = ("+charstr(origin)+"),("+newVars+"),(wp(newWeightVector));");
    269 
     268  ring ringForSaturation = create_ring(ringlist(origin)[1], "("+newVars+")",
     269      list(list("wp", newWeightVector)),"no_minpoly");
    270270  ideal I = satstd(imap(origin,I));
    271271  I = simplify(I,2+4+32);
Note: See TracChangeset for help on using the changeset viewer.