Changeset d50995 in git


Ignore:
Timestamp:
Dec 4, 2014, 12:59:58 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
3bd01abee2945bbd1dd350c68e4ab321a9256c9e
Parents:
009bd5cbba879731a3b0eb480677ac1996111115
Message:
warnings: fixed finvar.lib, rModifyRing, wrong assume in gnumpc.cc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/finvar.lib

    r009bd5 rd50995  
    14901490    string mp=string(minpoly);
    14911491    execute("ring R=("+charstr(br)+"),("+varstr(br)+"),ds;");
    1492     execute("minpoly=number("+mp+");");
     1492    if (mp!="0")
     1493    {
     1494      execute("minpoly=number("+mp+");");
     1495    }
    14931496    poly A(1)=0;                      // A(1) will contain the sum of n terms -
    14941497    poly min;                         // min will be our smallest term -
     
    76267629    string mp=string(minpoly);
    76277630    execute("ring R=("+charstr(br)+"),("+varstr(br)+",y(1..m)),dp;");
    7628     execute("minpoly=number("+mp+");");
     7631    if (mp!="0")
     7632    { execute("minpoly=number("+mp+");"); }
    76297633    ideal I=ideal(imap(br,F));
    76307634    for (int i=1;i<=m;i++)
    7631     { I[i]=I[i]-y(i);
    7632     }
     7635    { I[i]=I[i]-y(i); }
    76337636    I=elim(I,1..n);
    76347637    execute("ring "+newring+"=("+charstr(br)+"),(y(1..m)),dp(m);");
    7635     execute("minpoly=number("+mp+");");
     7638    if (mp!="0")
     7639    { execute("minpoly=number("+mp+");"); }
    76367640    ideal vars;
    76377641    for (i=2;i<=n;i++)
     
    78557859    string mp=string(minpoly);
    78567860    execute("ring R=("+charstr(br)+"),("+varstr(br)+",y(1..m)),lp;");
    7857     execute("minpoly=number("+mp+");");
     7861    if (mp!="0")
     7862    { execute("minpoly=number("+mp+");"); }
    78587863    ideal J=ideal(imap(br,F));
    78597864    ideal I=imap(br,I);
     
    78817886    G=compress(G);
    78827887    execute("ring "+newring+"=("+charstr(br)+"),(y(1..m)),lp;");
    7883     execute("minpoly=number("+mp+");");
     7888    if (mp!="0")
     7889    { execute("minpoly=number("+mp+");"); }
    78847890    ideal vars;
    78857891    for (i=2;i<=n;i++)
  • libpolys/coeffs/gnumpc.cc

    r009bd5 rd50995  
    601601  }
    602602
    603   assume( n->float_len <= n->float_len2 );
    604603  assume( pParameterNames != NULL );
    605604  assume( pParameterNames[0] != NULL );
  • libpolys/polys/monomials/ring.cc

    r009bd5 rd50995  
    26702670        if (try_omit_comp)
    26712671        {
    2672 #ifndef SING_NDEBUG
    2673           Warn("WRONG USAGE? of rModifyRing: omitting component due to the ordering block [%d]: %d (ringorder_s)", i, r_ord);
    2674 #endif
     2672          // tried, but cannot omit component due to the ordering block [%d]: %d (ringorder_s)", i, r_ord
    26752673          try_omit_comp = FALSE;
    26762674        }
Note: See TracChangeset for help on using the changeset viewer.