Changeset c616d1 in git for Singular/matpol.cc


Ignore:
Timestamp:
Sep 30, 1998, 4:12:48 PM (25 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'a7324b6e0b44a1a8ed3fa4d9ca3e2ff210ddd52c')
Children:
d3e295ae509633cf6ba993a8680945f24b9ab5ec
Parents:
8f14736613d731d65fa80a0322e2debe3dd2a3b0
Message:
hannes/pohl: minor fix


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

Legend:

Unmodified
Added
Removed
  • Singular/matpol.cc

    r8f1473 rc616d1  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: matpol.cc,v 1.19 1998-09-29 21:14:45 siebert Exp $ */
     4/* $Id: matpol.cc,v 1.20 1998-09-30 14:12:48 Singular Exp $ */
    55
    66/*
     
    9191    t = a->m[i];
    9292    pNormalize(t);
    93 #ifdef MDEBUG
    94 //    b->m[i] = pDBCopy(t,f,l);
    9593    b->m[i] = pCopy(t);
    96 #else
    97     b->m[i] = pCopy(t);
    98 #endif
    9994  }
    10095  b->rank=a->rank;
     
    392387
    393388  /* step of Bareiss */
    394   if((row && Bareiss->mpPivotRow(&w,row-1)) || Bareiss->mpPivotBareiss(&w))
     389  if(((row!=0) && Bareiss->mpPivotRow(&w,row-1)) || Bareiss->mpPivotBareiss(&w))
    395390  {
    396391    Bareiss->mpElimBareiss(div);
     
    580575        }
    581576      }
    582       p = mpDet(tmp);
     577      p = mpDetBareiss(tmp);
    583578      if ((k+l) & 1) p=pNeg(p);
    584579      MATELEM(result,l,k) = p;
     
    14131408      }
    14141409      y = nDiv(pGetCoeff(r),x);
     1410      nNormalize(y);
    14151411      pSetCoeff(r,y);
    14161412      pIter(r);
Note: See TracChangeset for help on using the changeset viewer.