Skip to content
Snippets Groups Projects
Commit 81076bbe authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing const iterator

parent 4bacfc47
No related branches found
No related tags found
No related merge requests found
Pipeline #4520 failed
......@@ -108,12 +108,12 @@ struct ite_gpu
grid_key_dx<dim,int> start;
grid_key_dx<dim,int> stop;
size_t nblocks()
size_t nblocks() const
{
return wthr.x * wthr.y * wthr.z;
}
size_t nthrs()
size_t nthrs() const
{
return thr.x * thr.y * thr.z;
}
......
......@@ -228,7 +228,7 @@ template<unsigned int dim ,typename T> class Point
* \return the norm of the vector
*
*/
__device__ __host__ T norm()
__device__ __host__ T norm() const
{
T n = 0.0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment