Changeset e2efe91 in git


Ignore:
Timestamp:
Mar 2, 2009, 7:06:54 PM (15 years ago)
Author:
Motsak Oleksandr <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b52fc4b2495505785981d640dcf7eb3e456778ef')
Children:
fcef59fcd75c37051211c94b3423f0d319602d9d
Parents:
c91241ed56b5d5415d9557a8844d82dc4c1bd14a
Message:
*motsak: id_KillSquares doesn't call SkipZeroes by default


git-svn-id: file:///usr/local/Singular/svn/trunk@11512 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/sca.h

    rc91241 re2efe91  
    55*  Computer Algebra System SINGULAR     *
    66****************************************/
    7 /* $Id: sca.h,v 1.15 2009-03-02 17:04:52 motsak Exp $ */
     7/* $Id: sca.h,v 1.16 2009-03-02 18:06:54 motsak Exp $ */
    88
    99#include <ring.h>
     
    163163
    164164// reduce ideal id modulo <y_i^2> , i = iFirstAltVar .. iLastAltVar
     165// optional argument bSkipZeroes allow skipping of zero entries, by
     166// default - no skipping!
    165167ideal id_KillSquares(const ideal id,
    166168  const unsigned int iFirstAltVar, const unsigned int iLastAltVar,
    167   const ring r, const bool bSkipZeroes = true);
     169  const ring r, const bool bSkipZeroes = false);
    168170
    169171// for benchmarking
  • kernel/syz.cc

    rc91241 re2efe91  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: syz.cc,v 1.18 2009-01-06 16:53:54 Singular Exp $ */
     4/* $Id: syz.cc,v 1.19 2009-03-02 18:06:54 motsak Exp $ */
    55
    66/*
     
    632632    const unsigned int m_iLastAltVar  = scaLastAltVar(currRing);
    633633   
    634     arg = id_KillSquares(arg, m_iFirstAltVar, m_iLastAltVar, currRing); // kill suares in input!
     634    arg = id_KillSquares(arg, m_iFirstAltVar, m_iLastAltVar, currRing, false); // kill suares in input!
    635635  }
    636636#endif
Note: See TracChangeset for help on using the changeset viewer.