Changeset b3ea61f in git for Singular/LIB/central.lib


Ignore:
Timestamp:
Oct 6, 2008, 7:34:18 PM (15 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
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
File:
1 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 );
Note: See TracChangeset for help on using the changeset viewer.