Changeset 78dd2b in git for kernel/gring.cc


Ignore:
Timestamp:
Feb 3, 2005, 7:29:32 PM (19 years ago)
Author:
Viktor Levandovskyy <levandov@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
f8362b458adfbc85cbe2df1a814f2b540b0eaab2
Parents:
409be373d324a65170e8535c8eb84ea389ca01ec
Message:
*levandov: curring replaced with r in nc_CallPlural and other small patches


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

Legend:

Unmodified
Added
Removed
  • kernel/gring.cc

    r409be3 r78dd2b  
    77 *  Author:  levandov (Viktor Levandovsky)
    88 *  Created: 8/00 - 11/00
    9  *  Version: $Id: gring.cc,v 1.18 2005-02-03 17:52:02 Singular Exp $
     9 *  Version: $Id: gring.cc,v 1.19 2005-02-03 18:29:32 levandov Exp $
    1010 *******************************************************************/
    1111#include "mod2.h"
     
    17011701  /* returns TRUE if there were errors */
    17021702  /* analyze inputs, check them for consistency */
    1703   /* detect nc_type, DO NOT initialize multiplication */
    1704   /* check the ordering condition and evtl. NDC */
     1703  /* detects nc_type, DO NOT initialize multiplication but call for it at the end*/
     1704  /* checks the ordering condition and evtl. NDC */
    17051705{
    17061706  matrix CC = NULL;
     
    18391839    if (DN  == NULL)
    18401840    {
    1841       if ( (currRing->nc->type == nc_lie) || (currRing->nc->type == nc_undef) ) 
    1842       {
    1843         currRing->nc->type = nc_comm; /* it was nc_skew earlier */
     1841      if ( (r->nc->type == nc_lie) || (r->nc->type == nc_undef) ) 
     1842      {
     1843        r->nc->type = nc_comm; /* it was nc_skew earlier */
    18441844      }
    18451845      else /* nc_general, nc_skew */
    18461846      {
    1847         currRing->nc->type = nc_skew;
     1847        r->nc->type = nc_skew;
    18481848      }
    18491849    }
     
    18741874      if ( p != NULL)
    18751875      {
    1876         q = pOne();
     1876        q = p_ISet(1,r); // replaces pOne();
    18771877        p_SetExp(q,i,1,r);
    18781878        p_SetExp(q,j,1,r);
Note: See TracChangeset for help on using the changeset viewer.