From 90b863e24596772d492ec2a344b4f9f7fc1680db Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Thu, 7 Jan 2021 14:47:49 +0100 Subject: Cleaned up includes. --- complex_normal.hpp | 1 + langevin.cpp | 11 +++-------- p-spin.hpp | 6 +----- stereographic.hpp | 2 ++ 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 #include diff --git a/langevin.cpp b/langevin.cpp index b67d358..f494809 100644 --- a/langevin.cpp +++ b/langevin.cpp @@ -1,19 +1,14 @@ -#include -#include -#include #include -#include - -#include "pcg-cpp/include/pcg_random.hpp" -#include "randutils/randutils.hpp" #include -#include #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; Vector normalize(const Vector& z) { diff --git a/p-spin.hpp b/p-spin.hpp index 16e0a56..83e4e39 100644 --- a/p-spin.hpp +++ b/p-spin.hpp @@ -1,10 +1,6 @@ #pragma once -#include -#include - -#include "pcg-cpp/include/pcg_random.hpp" -#include "randutils/randutils.hpp" +#include #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 #include "p-spin.hpp" diff --git a/tensor.hpp b/tensor.hpp index f442f87..528a51a 100644 --- a/tensor.hpp +++ b/tensor.hpp @@ -1,8 +1,6 @@ #pragma once -#include #include -#include #include -- cgit v1.2.3-70-g09d2