Changeset 5bb309 in git


Ignore:
Timestamp:
Mar 31, 1998, 2:20:23 PM (25 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
924778959498ab1187b8a19be5308080e0c7d4c4
Parents:
82ac59470816445777161511b885da4dd74cb6d7
Message:
* bug fix


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

Legend:

Unmodified
Added
Removed
  • Singular/spSpolyLoop.pl

    r82ac59 r5bb309  
    11#!/usr/local/bin/perl
    22###########################################################################
    3 # $Id: spSpolyLoop.pl,v 1.4 1998-03-31 12:18:51 obachman Exp $
     3# $Id: spSpolyLoop.pl,v 1.5 1998-03-31 12:20:23 obachman Exp $
    44
    55###########################################################################
     
    257257
    258258  Equal:   // b equals a2
    259 //    assume(pComp0(b, a2) == 0);
    260     if (pComp0(b, a2) != 0)
    261     {
    262        WarnS("Wrong comp in SpolyLoop\n");
    263        pComp0(b,a2);
    264     }
    265 
     259    assume(pComp0(b, a2) == 0);
    266260    tb = CALL_NMULT("pGetCoeff(a1)",tm);
    267261    if (!CALL_NEQUAL("pGetCoeff(a2)",tb))
     
    288282    {
    289283      assume(pComp0(b, a2) == -1);
    290     if (pComp0(b, a2) != -1)
    291     {
    292        WarnS("Wrong comp in SpolyLoop\n");
    293        pComp0(b,a2);
    294     }
    295284      a = pNext(a) = a2;// append a2 to result and advance a2
    296285      pIter(a2);
     
    301290    {
    302291      assume(pComp0(b, a2) == 1);
    303     if (pComp0(b, a2) != 1)
    304     {
    305        WarnS("Wrong comp in SpolyLoop\n");
    306        pComp0(b,a2);
    307     }
    308292      pSetCoeff0(b,CALL_NMULT("pGetCoeff(a1)",tneg));
    309293      a = pNext(a) = b;       // append b to result and advance a1
Note: See TracChangeset for help on using the changeset viewer.