Changeset b3ea61f in git


Ignore:
Timestamp:
Oct 6, 2008, 7:34:18 PM (16 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '648d28f488f6ff08f5607ff229b9ad9e4a5b93c2')
Children:
40cb868fa73b4b919663ea7103e36b4df054e48e
Parents:
886b0dae50b58b9f8b0863c63abf2f0ddacf9a26
Message:
*hannes: cannot compare ideal, int


git-svn-id: file:///usr/local/Singular/svn/trunk@11100 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular/LIB
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/central.lib

    r886b0da rb3ea61f  
    11///////////////////////////////////////////////////////////////////////////////
    2 version="$Id: central.lib,v 1.5 2008-04-23 14:06:09 motsak Exp $"
     2version="$Id: central.lib,v 1.6 2008-10-06 17:33:57 Singular Exp $"
    33category="Noncommutative"
    44info="
     
    705705
    706706  // check result of linearMapKernel
    707   if( (typeof(T) == "int") and (T == 0) )
     707  if( typeof(T) == "int" )
     708  {
     709    if( T == 0 )
    708710    {
    709711      // All zeroes! Return Basis:
     
    711713      return( Basis );
    712714    }
     715  }
    713716  else
    714     {
    715       if( typeof(T) != "module" )
    716         {
    717           ERROR( "Wrong output from the 'linearMapKernel' function!" );
    718         }
    719     }
     717  {
     718    if( typeof(T) != "module" )
     719    {
     720       ERROR( "Wrong output from the 'linearMapKernel' function!" );
     721    }
     722  }
    720723
    721724  result = linearCombinations( Basis, T );
  • Singular/LIB/equising.lib

    r886b0da rb3ea61f  
    1 version="$Id: equising.lib,v 1.18 2008-10-06 17:04:26 Singular Exp $";
     1version="$Id: equising.lib,v 1.19 2008-10-06 17:34:18 Singular Exp $";
    22category="Singularities";
    33info="
     
    359359  {
    360360    charaStr = charstr(basering);
    361     if (charaStr == string(chara) + "," + parstr(basering) or minPolyStr<>"")
     361    if ((charaStr == string(chara) + "," + parstr(basering)) or (minPolyStr<>""))
    362362    {
    363363      if (minPolyStr<>"")
     
    442442    ideal qIdeal = imap(myRing1, qIdeal);
    443443
    444     if(qIdeal != 0)
     444    if(size(qIdeal) != 0)
    445445    {
    446446      def r_base = basering;
     
    457457  else
    458458  {
    459     if(qIdeal != 0)
     459    if(size(qIdeal) != 0)
    460460    {
    461461      def r_base = basering;
Note: See TracChangeset for help on using the changeset viewer.