Changeset e6908a0 in git


Ignore:
Timestamp:
Nov 22, 1999, 5:30:01 PM (24 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
Children:
212fc04aaf4a4730cceeb9f21ea8aec710514c30
Parents:
f345ed064d1aad1b7be479be2c3b1fa048ae58c5
Message:
*hannes: bigendian fixes: pOrdIndex


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

Legend:

Unmodified
Added
Removed
  • Singular/ring.cc

    rf345ed re6908a0  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ring.cc,v 1.92 1999-11-22 14:22:09 Singular Exp $ */
     4/* $Id: ring.cc,v 1.93 1999-11-22 16:30:01 Singular Exp $ */
    55
    66/*
     
    30813081  if (r->order[0] == ringorder_s)
    30823082  {
    3083     if (r->pCompIndex == 1)
     3083    /* l[0] is occupied by ringorder_s,
     3084    *  does l[1] contain the component-number ? */
     3085    if (r->pCompIndex < 2*sizeof(long)/sizeof(Exponent_t)) /* e-index of l[2] */
    30843086      r->pOrdIndex = 2;
    30853087    else
    30863088      r->pOrdIndex = 1;
    30873089  }
    3088   else if (r->pCompIndex == 0)
     3090  else if (r->pCompIndex  < sizeof(long)/sizeof(Exponent_t))
    30893091    r->pOrdIndex=1;
    30903092  else
     
    31353137void rDebugPrint(ring r)
    31363138{
     3139  if (r==NULL)
     3140  {
     3141    PrintS("NULL ?\n");
     3142    return;
     3143  }
    31373144  char *TYP[]={"ro_dp","ro_wp","ro_cp","ro_syzcomp", "ro_syz", "ro_none"};
    31383145  int i,j;
Note: See TracChangeset for help on using the changeset viewer.