Changeset 066b002 in git


Ignore:
Timestamp:
Feb 9, 2005, 1:55:12 PM (18 years ago)
Author:
Viktor Levandovskyy <levandov@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '00e2e9c41af3fde1273eb3633f4c0c7c3db2579d')
Children:
6582b896a376689038f2f0222fceeac87b3c7075
Parents:
59aa94d9792295188c07047a408f3406a9afdefe
Message:
*levandov: consistency check Cij=0 improved


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

Legend:

Unmodified
Added
Removed
  • kernel/gring.cc

    r59aa94 r066b002  
    77 *  Author:  levandov (Viktor Levandovsky)
    88 *  Created: 8/00 - 11/00
    9  *  Version: $Id: gring.cc,v 1.19 2005-02-03 18:29:32 levandov Exp $
     9 *  Version: $Id: gring.cc,v 1.20 2005-02-09 12:55:12 levandov Exp $
    1010 *******************************************************************/
    1111#include "mod2.h"
     
    18011801    C = mpCopy(CC);
    18021802    /* analyze C */
    1803     if (MATELEM(C,1,2)==NULL)
    1804       pN=NULL;
     1803    if ( MATELEM(C,1,2) == NULL )
     1804      pN = NULL; /* check the consistency later */
    18051805    else
    18061806      pN = p_GetCoeff(MATELEM(C,1,2),r);
     
    18101810      for(j=i+1; j<=r->N; j++)
    18111811      {
    1812         qN = p_GetCoeff(MATELEM(C,i,j),r);
     1812        if (MATELEM(C,i,j) == NULL)
     1813          qN = NULL;
     1814        else
     1815          qN = p_GetCoeff(MATELEM(C,i,j),r);
    18131816        if ( qN == NULL )   /* check the consistency: Cij!=0 */
    18141817        // find also illegal pN
Note: See TracChangeset for help on using the changeset viewer.