Changeset 5ca534 in git for Singular/ipshell.cc


Ignore:
Timestamp:
Jul 21, 2006, 2:36:26 PM (18 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'aefe9ae36ec8df52dbdbefda02828f18f27715b3')
Children:
aff0bb7c7395a8ac4267e97e61f62e8eae06df47
Parents:
d8bddb1d3667453da3bdbbd8108b9123e41de985
Message:
*hannes: fixed ring r=0,x,(dp(1),dp(0),C);


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

Legend:

Unmodified
Added
Removed
  • Singular/ipshell.cc

    rd8bddb r5ca534  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ipshell.cc,v 1.140 2006-07-18 16:10:45 Singular Exp $ */
     4/* $Id: ipshell.cc,v 1.141 2006-07-21 12:36:26 Singular Exp $ */
    55/*
    66* ABSTRACT:
     
    41764176  {
    41774177    intvec *iv = (intvec *)(sl->data);
    4178     if (((*iv)[1]==ringorder_c)||((*iv)[1]==ringorder_C)) i++;
     4178    if (((*iv)[1]==ringorder_c)||((*iv)[1]==ringorder_C))
     4179      i++;
    41794180    else if ((*iv)[1]==ringorder_L)
    41804181    {
     
    41834184    }
    41844185    else if (((*iv)[1]!=ringorder_a)
    4185     && ((*iv)[1]!=ringorder_a64)) o++;
     4186    && ((*iv)[1]!=ringorder_a64))
     4187      o++;
    41864188    n++;
    41874189    sl=sl->next;
     
    42574259            else last += (*iv)[0];
    42584260            R->block1[n] = last;
     4261            if (R->block0[n]>R->block1[n]) return TRUE;
    42594262            if (rCheckIV(iv)) return TRUE;
    42604263            break;
     
    44764479      }
    44774480    }
    4478     else {
     4481    else
     4482    {
    44794483#ifdef HAVE_RING2TOM
    44804484      int blupp = Is2toM(ch);
    4481       if (blupp != 0) {
     4485      if (blupp != 0)
     4486      {
    44824487        cring = 1; // Use Z/2^ch
    44834488        ch = blupp;
Note: See TracChangeset for help on using the changeset viewer.