1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-07-18 17:03:43 +02:00

Replaced <cmath> with <math.h> and std::fabs() with fabs() to be C-complient. #25

This commit is contained in:
Francois Coppens 2021-07-20 11:15:33 +02:00
parent dcb4816941
commit 80c9a2291c

View File

@ -16,7 +16,7 @@ Low- and high-level functions that use the Sherman-Morrison and Woodbury matrix
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif #endif
#include <cmath> #include <math.h>
#ifndef THRESHOLD #ifndef THRESHOLD
#define THRESHOLD 1e-3 #define THRESHOLD 1e-3
#endif #endif