Changeset f8ace52 in git


Ignore:
Timestamp:
Sep 29, 2010, 11:21:11 AM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '3720ae8bfcff4a4649ee98a15552089151d2d59b')
Children:
08076474d5b872058ae014f8e1e6d95434bc7f29
Parents:
0997b93d0053636ae5ff9b5dc220e421ba6ee70a
Message:
need p_Cleardenom even for gcd(0,f)

git-svn-id: file:///usr/local/Singular/svn/trunk@13319 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/clapsing.cc

    r0997b93 rf8ace52  
    102102  poly res=NULL;
    103103
    104   if (f!=NULL)
    105   {
    106     p_Cleardenom(f, currRing);
    107     if (g!=NULL) p_Cleardenom(g, currRing);
    108     else         return f; // g==0 => gcd=f (but do a p_Cleardenom)
    109   }
    110   else /*f==NULL*/ return g; // f==0 => gcd=g (but do a p_Cleardenom)
     104  if (f!=NULL) p_Cleardenom(f, currRing);
     105  if (g!=NULL) p_Cleardenom(g, currRing);
     106  else         return f; // g==0 => gcd=f (but do a p_Cleardenom)
     107  if (f==NULL) return g; // f==0 => gcd=g (but do a p_Cleardenom)
    111108
    112109  res=singclap_gcd_r(f,g,currRing);
Note: See TracChangeset for help on using the changeset viewer.