Changeset 9d37f6 in git


Ignore:
Timestamp:
Jul 28, 2014, 9:36:28 AM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
8469042e02131cad32c6668f716c3559fc06182c8f3a6d803bd98461fd9197ffdf873d764d4d4c1b
Parents:
61c8d2588fefcc1db6a5299b376ed9dad6a5a05c98cbe2b76d99d0d8c6d6e622ecfd56074408441b
Message:
Merge pull request #622 from mmklee/tr628

Tr628
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • Tst/Short.lst

    r61c8d25 r9d37f6  
    127127Short/bug_tr489.tst
    128128Short/bug_tr549.tst
     129Short/bug_tr628.tst
    129130Short/bug_x_i_j.tst
    130131Short/charseries.tst
  • Tst/Short/ok_s.lst

    r61c8d25 r9d37f6  
    141141bug_tr604
    142142bug_tr627
     143bug_tr628
    143144bug_tr630
    144145bug_genus_etc
  • factory/cfModResultant.cc

    r61c8d25 r9d37f6  
    490490
    491491    count++;
    492     if (count > bound || (prob && equalCount == 2))
     492    if (count > bound || (prob && equalCount == 2 && !H.isOne()))
    493493    {
    494494      if (!algExt && degree (H, alpha) <= 0)
  • factory/facAlgFunc.cc

    r61c8d25 r9d37f6  
    3030#include "cf_util.h"
    3131#include "cf_algorithm.h"
     32#include "templates/ftmpl_functions.h"
    3233#include "cf_map.h"
    3334#include "cfModResultant.h"
     
    375376        if (getCharacteristic() == 0)
    376377          On (SW_RATIONAL);
    377         h= swapvar (g, g.mvar(), oldR.mvar());
    378         tmp= CFList (swapvar (R, g.mvar(), oldR.mvar()));
    379         h= alg_gcd (h, swapvar (oldR, g.mvar(), oldR.mvar()), tmp);
    380         CanonicalForm hh= replacevar (h, oldR.mvar(), alpha);
     378        Variable v= Variable (tmax (g.level(), oldR.level()) + 1);
     379        h= swapvar (g, oldR.mvar(), v);
     380        tmp= CFList (R);
     381        h= alg_gcd (h, swapvar (oldR, oldR.mvar(), v), tmp);
    381382
    382383        CanonicalForm numinv, deninv;
     
    393394        ra /= denra;
    394395        denra= deninv/denra;
    395         denra= replacevar (denra, ra.mvar(), g.mvar());
    396         ra= replacevar(ra, ra.mvar(), g.mvar());
    397396        rb= R.mvar()*denra-s*ra;
    398397        denrb= denra;
Note: See TracChangeset for help on using the changeset viewer.