Changeset 3705d5c in git


Ignore:
Timestamp:
Nov 24, 2006, 11:29:08 AM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
0ef842f27dd9647ae9abc8375147f2c17ec4e0c8
Parents:
8421b8c0b34f07a24fe8343f113f9312402c5bbd
Message:
*hannes: opt.


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

Legend:

Unmodified
Added
Removed
  • kernel/syz.cc

    r8421b8 r3705d5c  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: syz.cc,v 1.10 2005-05-20 15:32:36 Singular Exp $ */
     4/* $Id: syz.cc,v 1.11 2006-11-24 10:29:08 Singular Exp $ */
    55
    66/*
     
    244244  while (from<till)
    245245  {
    246     if (syz->m[from]!=NULL)
    247     {
    248       pTakeOutComp(&(syz->m[from]), ModComp, &unit2, &lu);
    249       syz->m[from] = pMult(pCopy(unit1),syz->m[from]);
    250       syz->m[from] = pSub(syz->m[from],
     246    poly tmp=syz->m[from];
     247    if (/*syz->m[from]*/ tmp!=NULL)
     248    {
     249      pTakeOutComp(&(tmp), ModComp, &unit2, &lu);
     250      tmp = pMult(pCopy(unit1),tmp);
     251      syz->m[from] = pSub(tmp,
    251252        pMult(unit2,pCopy(actWith)));
    252253    }
Note: See TracChangeset for help on using the changeset viewer.