diff options
-rw-r--r-- | complex_normal.hpp | 1 | ||||
-rw-r--r-- | langevin.cpp | 11 | ||||
-rw-r--r-- | p-spin.hpp | 6 | ||||
-rw-r--r-- | stereographic.hpp | 2 | ||||
-rw-r--r-- | tensor.hpp | 2 |
5 files changed, 7 insertions, 15 deletions
diff --git a/complex_normal.hpp b/complex_normal.hpp index 0819758..8ed75d1 100644 --- a/complex_normal.hpp +++ b/complex_normal.hpp @@ -1,4 +1,5 @@ #pragma once + #include <complex> #include <random> diff --git a/langevin.cpp b/langevin.cpp index b67d358..f494809 100644 --- a/langevin.cpp +++ b/langevin.cpp @@ -1,19 +1,14 @@ -#include <complex> -#include <cstdlib> -#include <functional> #include <getopt.h> -#include <random> - -#include "pcg-cpp/include/pcg_random.hpp" -#include "randutils/randutils.hpp" #include <eigen3/Eigen/LU> -#include <eigen3/Eigen/Dense> #include "complex_normal.hpp" #include "p-spin.hpp" #include "stereographic.hpp" +#include "pcg-cpp/include/pcg_random.hpp" +#include "randutils/randutils.hpp" + using Rng = randutils::random_generator<pcg32>; Vector normalize(const Vector& z) { @@ -1,10 +1,6 @@ #pragma once -#include <eigen3/Eigen/Core> -#include <eigen3/unsupported/Eigen/CXX11/Tensor> - -#include "pcg-cpp/include/pcg_random.hpp" -#include "randutils/randutils.hpp" +#include <eigen3/Eigen/Dense> #include "tensor.hpp" diff --git a/stereographic.hpp b/stereographic.hpp index 61d81c5..638923f 100644 --- a/stereographic.hpp +++ b/stereographic.hpp @@ -1,3 +1,5 @@ +#pragma once + #include <eigen3/Eigen/Cholesky> #include "p-spin.hpp" @@ -1,8 +1,6 @@ #pragma once -#include <algorithm> #include <array> -#include <utility> #include <eigen3/unsupported/Eigen/CXX11/Tensor> |