Changeset 7f4663 in git


Ignore:
Timestamp:
May 21, 2007, 6:50:56 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
8b861ac6edc3c5fc8dc0b8e9193f7ba0b8d27b03
Parents:
8de151f9727ea85227080d62f49717e27a4472c7
Message:
*hannes: fix fdivide test


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

Legend:

Unmodified
Added
Removed
  • libfac/factor/Factor.cc

    r8de151 r7f4663  
    11/* Copyright 1996 Michael Messollen. All rights reserved. */
    22///////////////////////////////////////////////////////////////////////////////
    3 static char * rcsid = "$Id: Factor.cc,v 1.26 2007-05-21 16:40:12 Singular Exp $ ";
     3static char * rcsid = "$Id: Factor.cc,v 1.27 2007-05-21 16:50:56 Singular Exp $ ";
    44static char * errmsg = "\nYou found a bug!\nPlease inform (Michael Messollen) michael@math.uni-sb.de \nPlease include above information and your input (the ideal/polynomial and characteristic) in your bug-report.\nThank you.";
    55///////////////////////////////////////////////////////////////////////////////
     
    10081008    d = i.getItem().exp();
    10091009    fac = i.getItem().factor();
    1010     if (fdivides(F,fac))
     1010    if (fdivides(fac,F))
    10111011    {
    10121012      if ((getNumVars(fac)==0)||(fac.degree()<=1))
     
    10271027          fac = k.getItem().factor();
    10281028          int dd = k.getItem().exp();
    1029           if ((!fac.isZero())&& fdivides(F,fac))
     1029          if ((!fac.isZero())&& fdivides(fac,F))
    10301030          {
    10311031#ifndef NOSTREAMIO
     
    10531053      fac = k.getItem().factor();
    10541054      int dd = k.getItem().exp();
    1055       if ((!fac.isZero())&& fdivides(F,fac))
     1055      if ((!fac.isZero())&& fdivides(fac,F))
    10561056      {
    10571057#ifndef NOSTREAMIO
     
    12601260/*
    12611261$Log: not supported by cvs2svn $
     1262Revision 1.26  2007/05/21 16:40:12  Singular
     1263*hannes: Factorize2
     1264
    12621265Revision 1.25  2007/05/15 15:50:42  Singular
    12631266*hannes: Factorize2
Note: See TracChangeset for help on using the changeset viewer.