diff --git a/lib/gpu/lal_lj_smooth.cpp b/lib/gpu/lal_lj_smooth.cpp index 47ca4ab6fa..59ebd0f636 100644 --- a/lib/gpu/lal_lj_smooth.cpp +++ b/lib/gpu/lal_lj_smooth.cpp @@ -145,7 +145,7 @@ double LJSMOOTHT::host_memory_usage() const { // Calculate energies, forces, and torques // --------------------------------------------------------------------------- template -int LJSMOOTHT::loop(const bool _eflag, const bool _vflag) { +int LJSMOOTHT::loop(const int _eflag, const int _vflag) { // Compute the block size and grid size to keep all cores busy const int BX=this->block_size(); int eflag, vflag;