Changeset cb66fa in git for Singular/ideals.cc


Ignore:
Timestamp:
Sep 14, 2000, 3:04:41 PM (24 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
45f38d6f3e40e1b9a2353cf58170baec48e127c6
Parents:
cba51679f82810c5f39ae893f98c5c62821f0297
Message:
* new implementation of PDEBUG stuff


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

Legend:

Unmodified
Added
Removed
  • Singular/ideals.cc

    rcba516 rcb66fa  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ideals.cc,v 1.101 2000-09-12 16:00:54 obachman Exp $ */
     4/* $Id: ideals.cc,v 1.102 2000-09-14 13:04:35 obachman Exp $ */
    55/*
    66* ABSTRACT - all basic methods to manipulate ideals
     
    321321
    322322#ifdef PDEBUG
    323   idDBTest(h1,f,l);
     323  idDBTest(h1,PDEBUG,f,l);
    324324#endif
    325325//#ifdef TEST
     
    347347
    348348#ifdef PDEBUG
    349 void idDBTest(ideal h1,char *f,int l)
     349void idDBTest(ideal h1, int level, char *f,int l)
    350350{
    351351  int i;
     
    357357    /* to be able to test matrices: */
    358358    for (i=(h1->ncols*h1->nrows)-1; i>=0; i--)
    359       pDBTest(h1->m[i],f,l);
     359      _p_Test(h1->m[i], currRing, level);
    360360    int new_rk=idRankFreeModule(h1);
    361361    if(new_rk > h1->rank)
    362362    {
    363       Print("wrong rank %d (should be %d) in %s:%d\n",
    364       h1->rank, new_rk, f,l);
     363      dReportError("wrong rank %d (should be %d) in %s:%d\n",
     364                   h1->rank, new_rk, f,l);
     365      omPrintAddrInfo(stderr, h1, " for ideal");
    365366      h1->rank=new_rk;
    366367    }
Note: See TracChangeset for help on using the changeset viewer.