Changeset 0bc608 in git for kernel/ring.cc


Ignore:
Timestamp:
Apr 29, 2004, 4:53:56 PM (20 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
836ebdb804db573c10082f675432a1dd11b29a90
Parents:
98a77e950089c3b81561dd726cc809059f56de12
Message:
*hannes: optimized w-oorderings


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

Legend:

Unmodified
Added
Removed
  • kernel/ring.cc

    r98a77e r0bc608  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ring.cc,v 1.5 2004-02-26 17:09:40 Singular Exp $ */
     4/* $Id: ring.cc,v 1.6 2004-04-29 14:53:56 Singular Exp $ */
    55
    66/*
     
    15661566{
    15671567  // weighted degree (aligned) of variables v_start..v_end, ordsgn 1
     1568  while((start<end) && (weights[0]==0)) { start++; weights++; }
     1569  while((start<end) && (weights[end-start]==0)) { end--; }
    15681570  rO_Align(place,bitplace);
    15691571  ord_struct.ord_typ=ro_wp;
     
    15901592{
    15911593  // weighted degree (aligned) of variables v_start..v_end, ordsgn -1
     1594  while((start<end) && (weights[0]==0)) { start++; weights++; }
     1595  while((start<end) && (weights[end-start]==0)) { end--; }
    15921596  rO_Align(place,bitplace);
    15931597  ord_struct.ord_typ=ro_wp;
Note: See TracChangeset for help on using the changeset viewer.