Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
#include <limits.h> #include <limits.h>
#include <stdint.h> #include <stdint.h>
#include <inttypes.h> #include <inttypes.h>
#include <cmath>
// grrr - IBM Power6 does not provide this def in their system header files // grrr - IBM Power6 does not provide this def in their system header files
...@@ -200,7 +201,7 @@ typedef int bigint; ...@@ -200,7 +201,7 @@ typedef int bigint;
#define _noalias #define _noalias
#endif #endif
#define ISFINITE(x) isfinite(x) #define ISFINITE(x) std::isfinite(x)
// settings to enable LAMMPS to build under Windows // settings to enable LAMMPS to build under Windows
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment