Changeset 8ea869 in git


Ignore:
Timestamp:
Aug 3, 2011, 7:16:02 PM (13 years ago)
Author:
Burcin Erocal <burcin@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '0bc2210f8055033868008a3836878db65ec6f89e')
Children:
af223b02cc71d0a13ef6b4dc8b7bc7843294331a
Parents:
9bf58f8f5de5f60734670074db331a8bc76702f4
git-author:
Burcin Erocal <burcin@erocal.org>2011-08-03 19:16:02+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:14:19+01:00
Message:
Fix Singular/eigenval_ip.cc.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/eigenval_ip.cc

    r9bf58f r8ea869  
    4141          int j=(int)(long)h->Data();
    4242          res->rtyp=MATRIX_CMD;
    43           res->data=(void *)evSwap(mpCopy(M),i,j);
     43          res->data=(void *)evSwap(mp_Copy(M, currRing),i,j);
    4444          return FALSE;
    4545        }
     
    7373            int k=(int)(long)h->Data();
    7474            res->rtyp=MATRIX_CMD;
    75             res->data=(void *)evRowElim(mpCopy(M),i,j,k);
     75            res->data=(void *)evRowElim(mp_Copy(M, currRing),i,j,k);
    7676            return FALSE;
    7777          }
     
    106106            int k=(int)(long)h->Data();
    107107            res->rtyp=MATRIX_CMD;
    108             res->data=(void *)evColElim(mpCopy(M),i,j,k);
     108            res->data=(void *)evColElim(mp_Copy(M, currRing),i,j,k);
    109109            return FALSE;
    110110          }
     
    127127      matrix M=(matrix)h->Data();
    128128      res->rtyp=MATRIX_CMD;
    129       res->data=(void *)evHessenberg(mpCopy(M));
     129      res->data=(void *)evHessenberg(mp_Copy(M, currRing));
    130130      return FALSE;
    131131    }
     
    180180
    181181      intvec *m0;
    182       ideal e0=singclap_factorize(mp_DetBareiss(M,currRing)),&m0,2);
     182      ideal e0=singclap_factorize(mp_DetBareiss(M,currRing),&m0,2, currRing);
    183183      if (e0==NULL)
    184184      {
     
    294294      matrix M=(matrix)h->Data();
    295295      res->rtyp=LIST_CMD;
    296       res->data=(void *)evEigenvals(mpCopy(M));
     296      res->data=(void *)evEigenvals(mp_Copy(M, currRing));
    297297      return FALSE;
    298298    }
Note: See TracChangeset for help on using the changeset viewer.