Changeset a3cd91 in git


Ignore:
Timestamp:
Oct 8, 2004, 5:33:48 PM (20 years ago)
Author:
Michael Brickenstein <bricken@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
a1047bd8d45eb1f0c260f8e00e02d57107c6320b
Parents:
4d81648b9f45fdf58a0a4b46cd84013fe82e9857
Message:
*bricken: tiny optimization of gcd_of_terms


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

Legend:

Unmodified
Added
Removed
  • Singular/tgb.cc

    r4d8164 ra3cd91  
    40034003   
    40044004    if (max_g_0==0) break;
    4005     for (i=pVariables; i; i--)
     4005    for (i=max_g_0; i; i--)
    40064006    {
    40074007      pSetExp(m,i, min(pGetExp(t,i),pGetExp(m,i)));
     
    40134013      }
    40144014    }
    4015                 t=t->next;
    4016   }
    4017         for (i=pVariables;i;i--)
    4018         {
    4019                 if(pGetExp(m,i)>0)
    4020                         return m;
    4021   }
    4022         pDelete(&m);
     4015    t=t->next;
     4016  }
     4017  // for (i=pVariables;i;i--)
     4018//   {
     4019//     if(pGetExp(m,i)>0)
     4020//       return m;
     4021//   }
     4022  if (max_g_0>0)
     4023    return m;
     4024  pDelete(&m);
    40234025  return NULL;
    40244026}
Note: See TracChangeset for help on using the changeset viewer.