Changeset 15a5b5d in git


Ignore:
Timestamp:
Jan 30, 2001, 5:58:52 PM (23 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
e3925838334feb8854aeeaf6170d5cade284a325
Parents:
150dc889f015f345eeda915fcc0b97aa94ab2116
Message:
*hannes: or->i


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

Legend:

Unmodified
Added
Removed
  • Singular/mpsr_Tok.cc

    r150dc8 r15a5b5d  
    33****************************************/
    44
    5 /* $Id: mpsr_Tok.cc,v 1.27 2000-12-12 08:44:48 obachman Exp $ */
     5/* $Id: mpsr_Tok.cc,v 1.28 2001-01-30 16:58:52 Singular Exp $ */
    66
    77/***************************************************************
     
    136136MP_Common_t mpsr_ord2mp(int sr_ord)
    137137{
    138   int or = ringorder_no;
    139 
    140   while (sing_mp_ord[or].sing_ord != sr_ord &&
    141          sing_mp_ord[or].sing_ord <= ringorder_unspec) or++;
    142 
    143   return sing_mp_ord[or].mp_ord;
     138  int i = ringorder_no;
     139
     140  while (sing_mp_ord[i].sing_ord != sr_ord &&
     141         sing_mp_ord[i].sing_ord <= ringorder_unspec) i++;
     142
     143  return sing_mp_ord[i].mp_ord;
    144144}
    145145
Note: See TracChangeset for help on using the changeset viewer.