added a missing const to grid Create
This commit is contained in:
parent
40a149964f
commit
9fc4f7d36f
|
@ -96,7 +96,7 @@ class GridStaticObj : public BasicGrid<FLT>
|
||||||
// Dato un punto ritorna l'indice della cella
|
// Dato un punto ritorna l'indice della cella
|
||||||
inline int GridInd( const Point3<FLT> & p ) const { return GridInd(GridP(p)); }
|
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->siz=_siz;
|
||||||
this->voxel[0] = this->dim[0]/this->siz[0];
|
this->voxel[0] = this->dim[0]/this->siz[0];
|
||||||
|
|
Loading…
Reference in New Issue