Changeset 8c7e81 in git


Ignore:
Timestamp:
Aug 7, 2007, 1:41:00 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '4188d308699580d975efd0f6cca8dcb41c396f70')
Children:
592e22040e058cea577d1be39a41916d20067d38
Parents:
92963f2232ba521a2c10b1a19008542bb6d7b06f
Message:
*hannes: avoid warnings


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

Legend:

Unmodified
Added
Removed
  • Singular/ipshell.cc

    r92963f r8c7e81  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ipshell.cc,v 1.167 2007-07-27 14:09:52 Singular Exp $ */
     4/* $Id: ipshell.cc,v 1.168 2007-08-07 11:41:00 Singular Exp $ */
    55/*
    66* ABSTRACT:
     
    19231923           R->wvhdl[j] =( int *)omAlloc((iv->length())*sizeof(int));
    19241924           for (i=0; i<iv->length();i++) R->wvhdl[j][i]=(*iv)[i];
    1925            R->block1[j]=si_max(R->block0[j],R->block0[j]+(int)sqrt(iv->length()-1));
     1925           R->block1[j]=si_max(R->block0[j],R->block0[j]+(int)sqrt((double)(iv->length()-1)));
    19261926           break;
    19271927         case ringorder_ls:
  • kernel/kInline.cc

    r92963f r8c7e81  
    77 *  Author:  obachman (Olaf Bachmann)
    88 *  Created: 8/00
    9  *  Version: $Id: kInline.cc,v 1.8 2007-07-24 11:20:32 Singular Exp $
     9 *  Version: $Id: kInline.cc,v 1.9 2007-08-07 11:36:46 Singular Exp $
    1010 *******************************************************************/
    1111#ifndef KINLINE_CC
     
    2929  assume(i>= 0 && i<=sl);
    3030  assume(S_2_R[i] >= 0 && S_2_R[i] <= tl);
    31   TObject* T = R[S_2_R[i]];
    32   assume(T != NULL && T->p == S[i]);
    33   return T;
     31  TObject* TT = R[S_2_R[i]];
     32  assume(TT != NULL && TT->p == S[i]);
     33  return TT;
    3434}
    3535
     
    499499}
    500500
    501 KINLINE void sLObject::SetLmTail(poly lm, poly p_tail, int p_Length, int use_bucket, ring tailRing, poly _last)
    502 {
    503 
    504   Set(lm, tailRing);
     501KINLINE void sLObject::SetLmTail(poly lm, poly p_tail, int p_Length, int use_bucket, ring _tailRing, poly _last)
     502{
     503
     504  Set(lm, _tailRing);
    505505  if (use_bucket)
    506506  {
    507     bucket = kBucketCreate(tailRing);
     507    bucket = kBucketCreate(_tailRing);
    508508    kBucketInit(bucket, p_tail, p_Length);
    509509    pNext(lm) = NULL;
     
    798798KINLINE long sLObject::Comp()
    799799{
    800   poly p;
     800  poly pp;
    801801  ring r;
    802   GetLm(p, r);
    803   assume(p != NULL);
    804   return p_GetComp(p, r);
     802  GetLm(pp, r);
     803  assume(pp != NULL);
     804  return p_GetComp(pp, r);
    805805}
    806806
Note: See TracChangeset for help on using the changeset viewer.