Changeset cf022c7 in git


Ignore:
Timestamp:
Aug 4, 2005, 3:01:42 PM (19 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
d0c9ea56a0d737ac0501ec7c4b0aa1ef9332eaa4
Parents:
ad408c91cc440f15e25c340805838886deb55e13
Message:
*hannes: fixed indices


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

Legend:

Unmodified
Added
Removed
  • Singular/ipshell.cc

    rad408c rcf022c7  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ipshell.cc,v 1.123 2005-08-04 12:29:33 Singular Exp $ */
     4/* $Id: ipshell.cc,v 1.124 2005-08-04 13:01:42 Singular Exp $ */
    55/*
    66* ABSTRACT:
     
    18731873    R->wvhdl=(int**)omAlloc0(n*sizeof(int_ptr));
    18741874    // init order, so that rBlocks works correctly
    1875     for (j=0; j < n-2; j++)
     1875    for (j=0; j < n-1; j++)
    18761876      R->order[j] = (int) ringorder_unspec;
    18771877    // orderings
     
    18981898      {
    18991899         int jj=j-1;
    1900          while((jj>0)
     1900         while((jj>=0)
    19011901         && ((R->order[jj]== ringorder_a)
    19021902            || (R->order[jj]== ringorder_aa)
     
    19041904            || (R->order[jj]== ringorder_C)
    19051905         ))
     1906         {
     1907           //Print("jj=%, skip %s\n",rSimpleOrdStr(R->order[jj]));
    19061908           jj--;
    1907          if (jj==0) R->block0[j]=1;
     1909         }
     1910         if (jj<0) R->block0[j]=1;
    19081911         else       R->block0[j]=R->block1[jj]+1;
    19091912      }
     
    19471950           break;
    19481951         case 0:
     1952         case ringorder_unspec:
    19491953           break;
    19501954      }
     
    19531957    j=n-2;
    19541958    if ((R->order[j]==ringorder_c)
    1955     || (R->order[j]==ringorder_C)) j--;
     1959    || (R->order[j]==ringorder_C)
     1960    || (R->order[j]==ringorder_unspec)) j--;
    19561961    if (R->block1[j] != R->N)
    19571962    {
Note: See TracChangeset for help on using the changeset viewer.