workaround for ISFINITE() macro to work with the latest KOKKOS library update

This commit is contained in:
Axel Kohlmeyer 2018-04-27 14:15:32 -04:00
parent 64b08d3ca8
commit f202f1bcf6
1 changed files with 2 additions and 1 deletions

View File

@ -39,6 +39,7 @@
#include <limits.h>
#include <stdint.h>
#include <inttypes.h>
#include <cmath>
// grrr - IBM Power6 does not provide this def in their system header files
@ -200,7 +201,7 @@ typedef int bigint;
#define _noalias
#endif
#define ISFINITE(x) isfinite(x)
#define ISFINITE(x) std::isfinite(x)
// settings to enable LAMMPS to build under Windows