Commit f202f1bc authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

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

parent 64b08d3c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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