Changeset f57b6f in git for Singular


Ignore:
Timestamp:
Aug 1, 2013, 1:10:43 PM (11 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
d0e888019d8a599b97c8922b3515147955d92323
Parents:
b60bfe549e97ab070e151414080fbef95a165146
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-08-01 13:10:43+02:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-08-01 13:12:43+02:00
Message:
fix: allow negative weights for poly.lib::lcm
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/poly.lib

    rb60bfe rf57b6f  
    849849       }
    850850     }
    851      if(deg(p)==-1)
     851     if(p==0)
    852852     {
    853853       return(1);
     
    860860           if(maxdeg(q)==0)
    861861           {
    862                  p=p*i[k];
     862             p=p*i[k];
    863863           }
    864864           else
    865865           {
    866               p=p/q;
    867               p=p*i[k];
     866             p=p/q;
     867             p=p*i[k];
    868868           }
    869869        }
Note: See TracChangeset for help on using the changeset viewer.