We'll be taking GitLab down for maintenance around 22 in the evening on the 15th of September, so this Sunday. Let us know (tt.mpi-cbg.de) if you experience any issues with it after the maintenance period.

Commit 3c5f0223 authored by incardon's avatar incardon

Fastest flush so far

parent 957328ea
......@@ -241,7 +241,7 @@ template<unsigned int dim ,typename T> class Point
* \return the distance
*
*/
__device__ __host__ T distance(const Point<dim,T> & q)
__device__ __host__ T distance(const Point<dim,T> & q) const
{
T tot = 0.0;
......@@ -260,7 +260,7 @@ template<unsigned int dim ,typename T> class Point
* \return the square of the distance
*
*/
T distance2(const Point<dim,T> & q)
T distance2(const Point<dim,T> & q) const
{
T tot = 0.0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment