Changeset 0ef842 in git


Ignore:
Timestamp:
Nov 24, 2006, 1:18:28 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
Children:
3504d7274c5b65041397e64fd259f10b923a19a4
Parents:
3705d5c995e721d82fb6dad60d586e998ed821ca
Message:
*hannes: optim.


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

Legend:

Unmodified
Added
Removed
  • kernel/polys.cc

    r3705d5c r0ef842  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: polys.cc,v 1.11 2006-10-05 18:25:10 Singular Exp $ */
     4/* $Id: polys.cc,v 1.12 2006-11-24 12:18:27 Singular Exp $ */
    55
    66/*
     
    404404  {
    405405    result = q;
    406     while ((q!=NULL) && (pGetComp(q)==k))
     406    do
    407407    {
    408408      pSetComp(q,0);
     
    411411      pIter(q);
    412412    }
     413    while ((q!=NULL) && (pGetComp(q)==k));
    413414    *p = q;
    414415    pNext(qq) = NULL;
  • kernel/syz1.cc

    r3705d5c r0ef842  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: syz1.cc,v 1.10 2004-11-09 14:55:01 Singular Exp $ */
     4/* $Id: syz1.cc,v 1.11 2006-11-24 12:18:28 Singular Exp $ */
    55/*
    66* ABSTRACT: resolutions
     
    20302030      syzstr->resolution = new intvec(syzstr->length+1);
    20312031      SRes rP=syzstr->resPairs;
    2032       (*syzstr->resolution)[0]
    2033         = si_max(1,(int)idRankFreeModule(syzstr->res[1],
    2034                                  (syzstr->syRing != NULL ? syzstr->syRing : currRing)));
     2032      assume(idRankFreeModule(syzstr->res[1],
     2033                                 (syzstr->syRing != NULL ? syzstr->syRing : currRing))==syzstr->res[1]->rank);
     2034      (*syzstr->resolution)[0] = syzstr->res[1]->rank;
    20352035      while ((l<syzstr->length) && (rP[l]!=NULL))
    20362036      {
Note: See TracChangeset for help on using the changeset viewer.