fix warning about enum comparisons

This commit is contained in:
Dan Ibanez
2017-01-03 09:04:10 -07:00
committed by Dan Ibanez
parent a36e563aa5
commit e632f8597a

View File

@ -31,7 +31,7 @@ namespace LAMMPS_NS {
template<class Device,int TABSTYLE>
struct S_TableCompute {
enum {TabStyle = TABSTYLE};
static constexpr int TabStyle = TABSTYLE;
};
template <class DeviceType, int NEIGHFLAG, int TABSTYLE>