-
Haocheng LIU authored
Nvcc compilers would not implicitly cast a const this pointer to a normal this pointer in a const member function. Thus we need to do the const cast explicity to make it compile.
ee839340
Nvcc compilers would not implicitly cast a const this pointer to a normal this pointer in a const member function. Thus we need to do the const cast explicity to make it compile.