replace defines with static constexpr declarations

This commit is contained in:
Axel Kohlmeyer
2024-01-21 14:51:35 -05:00
parent a473d6f347
commit 12422ff510
358 changed files with 636 additions and 561 deletions

View File

@ -39,7 +39,7 @@ enum{UNIFORM,GAUSSIAN};
enum{NONE,CONSTANT,EQUAL,ATOM};
#define WARMUP 100
#define SMALL 0.001
static constexpr double SMALL = 0.001;
/* ---------------------------------------------------------------------- */