Changeset e3915e in git for kernel/intvec.cc


Ignore:
Timestamp:
May 15, 2009, 3:20:05 PM (15 years ago)
Author:
Motsak Oleksandr <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
8f63e4c7ff0fb85b12623e48dd7beeb869ab2257
Parents:
c0e207fbb11405ebf5b0060af0a525225c8f26e7
Message:
*motsak: added constness to show methods. please do 'make clean'


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

Legend:

Unmodified
Added
Removed
  • kernel/intvec.cc

    rc0e207f re3915e  
    22*  Computer Algebra System SINGULAR      *
    33*****************************************/
    4 /* $Id: intvec.cc,v 1.4 2007-11-08 09:47:13 Singular Exp $ */
     4/* $Id: intvec.cc,v 1.5 2009-05-15 13:20:05 motsak Exp $ */
    55/*
    66* ABSTRACT: class intvec: lists/vectors of integers
     
    6767}
    6868
    69 char * intvec::ivString(int not_mat,int spaces, int dim)
     69char * intvec::ivString(int not_mat,int spaces, int dim) const
    7070{
    7171  //Print("ivString:this=%x,v=%x,row=%d\n",this,v,row);
    72   omCheckAddr(this);
    73   omCheckAddr(v);
     72#ifndef OM_NDEBUG
     73  omCheckAddr((void *)this);
     74  omCheckAddr((void *)v);
     75#endif
    7476  StringSetS("");
    7577  if ((col == 1)&&(not_mat))
     
    120122}
    121123
    122 char * intvec::String(int dim)
     124char * intvec::String(int dim) const
    123125{
    124126  return omStrDup(ivString(1, 0, dim));
    125127}
    126128
    127 void intvec::show(int notmat,int spaces)
     129void intvec::show(int notmat,int spaces) const
    128130{
    129131  if (spaces>0)
Note: See TracChangeset for help on using the changeset viewer.