Changeset 713126 in git


Ignore:
Timestamp:
Dec 6, 2006, 7:18:48 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
cbe67eba6b38f4b622182cf5b827addbb5de83d6
Parents:
f4fea8560f31694a2e5242a206281daa4f5adb99
Message:
*hannes: ERROR, some sanity checks


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

Legend:

Unmodified
Added
Removed
  • Singular/LIB/triang.lib

    rf4fea85 r713126  
    11//last change: 13.02.2001 (Eric Westenberger)
    22//////////////////////////////////////////////////////////////////////////////
    3 version="$Id: triang.lib,v 1.10 2006-07-18 15:22:16 Singular Exp $";
     3version="$Id: triang.lib,v 1.11 2006-12-06 18:18:48 Singular Exp $";
    44category="Symbolic-numerical solving";
    55info="
     
    3939    if (attrib(G,"isSB") <> 1)
    4040    {
    41         print("   ? Error: The input is no groebner basis.");
    42         return();
     41        ERROR("   ? Error: The input is no groebner basis.");
    4342    }
    4443    else
     
    4645        if (dim(G) <> 0)
    4746        {
    48             print("   ? Error: ideal is not zero-dimensional.");
    49             return();
     47            ERROR("   ? Error: ideal is not zero-dimensional.");
    5048        }
    5149    }
     
    214212    if (attrib(G,"isSB") <> 1)
    215213    {
    216         print("   ? Error: The input is no groebner basis.");
    217         return();
     214        ERROR("   ? Error: The input is no groebner basis.");
    218215    }
    219216    else
     
    221218        if (dim(G) <> 0)
    222219        {
    223             print("   ? Error: ideal is not zero-dimensional.");
    224             return();
     220            ERROR("   ? Error: ideal is not zero-dimensional.");
    225221        }
    226222    }
     
    643639    if (attrib(G,"isSB") <> 1)
    644640    {
    645         print("   ? Error: The input is no groebner basis.");
    646         return();
     641        ERROR("   ? Error: The input is no groebner basis.");
    647642    }
    648643
     
    825820    if (attrib(G,"isSB") <> 1)
    826821    {
    827         print("   ? Error: The input is no groebner basis.");
    828         return();
    829     }
    830 
     822        ERROR("   ? Error: The input is no groebner basis.");
     823    }
     824    if(npars(basering)<>0)
     825    {
     826        ERROR("basering has parameters");
     827    }
    831828    // Faktorisierungsschalter setzen.
    832829    int fak;
     
    840837    intvec ovec = option(get);
    841838    option(redSB);
     839    option(redTail);
    842840    option(returnSB);
    843841
Note: See TracChangeset for help on using the changeset viewer.