Changeset 22b066 in git for kernel/kutil.cc


Ignore:
Timestamp:
Sep 9, 2008, 5:46:14 PM (15 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'd0474371d8c5d8068ab70bfb42719c97936b18a6')
Children:
9db056766710393a837733e7b1f765e86500c2ff
Parents:
6e0c3942bc16fb74916f2a0298c99fd48a0477bc
Message:
*hannes: better size estimate for initS


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

Legend:

Unmodified
Added
Removed
  • kernel/kutil.cc

    r6e0c394 r22b066  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kutil.cc,v 1.106 2008-07-28 18:14:24 Singular Exp $ */
     4/* $Id: kutil.cc,v 1.107 2008-09-09 15:46:14 Singular Exp $ */
    55/*
    66* ABSTRACT: kernel: utils for kStd
     
    47294729*construct the set s from F
    47304730*/
    4731 void initS (ideal F, ideal Q,kStrategy strat)
     4731void initS (ideal F, ideal Q, kStrategy strat)
    47324732{
    47334733  int   i,pos;
    47344734
    4735   if (Q!=NULL) i=((IDELEMS(Q)+(setmaxTinc-1))/setmaxTinc)*setmaxTinc;
    4736   else i=setmaxT;
     4735  if (Q!=NULL) i=((IDELEMS(F)+IDELEMS(Q)+(setmaxTinc-1))/setmaxTinc)*setmaxTinc;
     4736  else         i=((IDELEMS(F)+(setmaxTinc-1))/setmaxTinc)*setmaxTinc;
    47374737  strat->ecartS=initec(i);
    47384738  strat->sevS=initsevS(i);
Note: See TracChangeset for help on using the changeset viewer.