Changeset a3d407 in git


Ignore:
Timestamp:
Jul 6, 2010, 12:31:41 PM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
92080408874be46b8fb117a4d03d6a4bc4f8d921
Parents:
9718cd420b91cd6f3027a8cfa87096bc8a883b1f
Message:
remove rComp0, rComp0_Func

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

Legend:

Unmodified
Added
Removed
  • kernel/polys-impl.cc

    r9718cd4 ra3d407  
    137137}
    138138
    139 
    140 int rComp0_Func(poly p1,poly p2)
    141 {
    142   int i;
    143   for(i=0; i< currRing->CmpL_Size;i++)
    144   {
    145     if (p1->exp[i] != p2->exp[i])
    146     {
    147       if (p1->exp[i] > p2->exp[i])
    148         return currRing->ordsgn[i];
    149       else
    150         return -currRing->ordsgn[i];
    151     }
    152   }
    153   return 0;
    154 }
    155 
    156 #ifdef PDEBUG
    157 int rComp0(poly p1,poly p2)
    158 {
    159   int i;
    160   for(i=0; i<currRing->CmpL_Size;i++)
    161   {
    162     if (p1->exp[i] != p2->exp[i])
    163     {
    164       if (p1->exp[i] > p2->exp[i])
    165         return currRing->ordsgn[i];
    166       else
    167         return -currRing->ordsgn[i];
    168     }
    169   }
    170   return 0;
    171 }
    172 #endif
    173 
    174139#endif // POLYS_IMPL_CC
Note: See TracChangeset for help on using the changeset viewer.