Update some nbnxm kernel constants to constexpr
[alexxy/gromacs.git] / src / gromacs / nbnxm / kernels_reference / kernel_ref_inner.h
index 8bc5aab82a6e6ae069b384a8b92c7f0c48ad18f7..59d9147aa6d2d4e57026e0ee73f2cc3ac06756aa 100644 (file)
 
             // Ensure the distances do not fall below the limit where r^-12 overflows.
             // This should never happen for normal interactions.
-            rsq = std::max(rsq, NBNXN_MIN_RSQ);
+            rsq = std::max(rsq, c_nbnxnMinDistanceSquared);
 
 #ifdef COUNT_PAIRS
             npair++;