Changeset 78dd2b in git for kernel/gring.cc
- Timestamp:
- Feb 3, 2005, 7:29:32 PM (19 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- f8362b458adfbc85cbe2df1a814f2b540b0eaab2
- Parents:
- 409be373d324a65170e8535c8eb84ea389ca01ec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/gring.cc
r409be3 r78dd2b 7 7 * Author: levandov (Viktor Levandovsky) 8 8 * Created: 8/00 - 11/00 9 * Version: $Id: gring.cc,v 1.1 8 2005-02-03 17:52:02 SingularExp $9 * Version: $Id: gring.cc,v 1.19 2005-02-03 18:29:32 levandov Exp $ 10 10 *******************************************************************/ 11 11 #include "mod2.h" … … 1701 1701 /* returns TRUE if there were errors */ 1702 1702 /* 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 */ 1705 1705 { 1706 1706 matrix CC = NULL; … … 1839 1839 if (DN == NULL) 1840 1840 { 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 */ 1844 1844 } 1845 1845 else /* nc_general, nc_skew */ 1846 1846 { 1847 currRing->nc->type = nc_skew;1847 r->nc->type = nc_skew; 1848 1848 } 1849 1849 } … … 1874 1874 if ( p != NULL) 1875 1875 { 1876 q = p One();1876 q = p_ISet(1,r); // replaces pOne(); 1877 1877 p_SetExp(q,i,1,r); 1878 1878 p_SetExp(q,j,1,r);
Note: See TracChangeset
for help on using the changeset viewer.