cmath seems not to have M_PI

This commit is contained in:
dwarning 2020-04-29 09:33:08 +02:00
parent d6332815b3
commit 6e98506a7f
1 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,9 @@ Spice3 Implementation: 2019 Dietmar Warning, Markus Müller, Mario Krattenmacher
*/ */
#include "cmath" #include "cmath"
#ifndef M_PI
#define M_PI 3.1415926535897932384626433832795
#endif
#include <duals/dual> #include <duals/dual>
#include "hicumL2.hpp" #include "hicumL2.hpp"
#include <functional> #include <functional>