added a missing const to grid Create

This commit is contained in:
Paolo Cignoni 2008-10-07 06:56:26 +00:00
parent 40a149964f
commit 9fc4f7d36f
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ class GridStaticObj : public BasicGrid<FLT>
// Dato un punto ritorna l'indice della cella
inline int GridInd( const Point3<FLT> & p ) const { return GridInd(GridP(p)); }
void Create( Point3i &_siz, const ObjType & init )
void Create( const Point3i &_siz, const ObjType & init )
{
this->siz=_siz;
this->voxel[0] = this->dim[0]/this->siz[0];