got fix_momentum_kokkos to compile

there are likely still some compile
errors for Kokkos+CUDA...
This commit is contained in:
Dan Ibanez
2016-12-19 13:08:09 -07:00
parent a1b441a71f
commit ca30c1ec88
5 changed files with 27 additions and 13 deletions

View File

@ -1441,7 +1441,7 @@ void Domain::unmap(double *x, imageint image)
for triclinic, use h[] to add in tilt factors in other dims as needed
------------------------------------------------------------------------- */
void Domain::unmap(double *x, imageint image, double *y)
void Domain::unmap(const double *x, imageint image, double *y)
{
int xbox = (image & IMGMASK) - IMGMAX;
int ybox = (image >> IMGBITS & IMGMASK) - IMGMAX;