From 3a463fbcaf3f6a3317ee1bc7393e5b8d1d55583a Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Mon, 23 Jul 2018 14:16:06 -0400 Subject: removed many unnecessary includes --- lib/cluster.h | 19 +------------------ src/wolff_On.cpp | 5 +++++ src/wolff_cgm.cpp | 1 + src/wolff_dgm.cpp | 1 + src/wolff_ising.cpp | 1 + src/wolff_potts.cpp | 1 + 6 files changed, 10 insertions(+), 18 deletions(-) diff --git a/lib/cluster.h b/lib/cluster.h index cc2dc70..5124061 100644 --- a/lib/cluster.h +++ b/lib/cluster.h @@ -1,31 +1,14 @@ #pragma once -#include -#include -#include -#include #include #include -#include #include -#include -#include -#include -#include "state.h" #include "types.h" -#include "rand.h" +#include "state.h" #include "stack.h" -#include "convex.h" #include "graph.h" -#include "tree.h" -#include "measurement.h" -#include "vector.h" -#include "orthogonal.h" -#include "dihedral.h" -#include "dihinf.h" -#include "yule_walker.h" template void flip_cluster(state_t *state, v_t v0, R_t r, gsl_rng *rand) { diff --git a/src/wolff_On.cpp b/src/wolff_On.cpp index 9f95f4a..ea80a28 100644 --- a/src/wolff_On.cpp +++ b/src/wolff_On.cpp @@ -1,14 +1,19 @@ #include +#include #ifdef HAVE_GLUT #include #endif +#include +#include + #include #include #include #include +#include typedef orthogonal_t orthogonal_R_t; typedef vector_t vector_R_t; diff --git a/src/wolff_cgm.cpp b/src/wolff_cgm.cpp index 559f6fc..1574308 100644 --- a/src/wolff_cgm.cpp +++ b/src/wolff_cgm.cpp @@ -10,6 +10,7 @@ #include // include wolff.h +#include #include typedef state_t , height_t> sim_t; diff --git a/src/wolff_dgm.cpp b/src/wolff_dgm.cpp index 6337a5e..718db8d 100644 --- a/src/wolff_dgm.cpp +++ b/src/wolff_dgm.cpp @@ -10,6 +10,7 @@ #include // include wolff.h +#include #include typedef state_t , height_t> sim_t; diff --git a/src/wolff_ising.cpp b/src/wolff_ising.cpp index e072d6a..9866248 100644 --- a/src/wolff_ising.cpp +++ b/src/wolff_ising.cpp @@ -9,6 +9,7 @@ #include // include wolff.h +#include #include int main(int argc, char *argv[]) { diff --git a/src/wolff_potts.cpp b/src/wolff_potts.cpp index 74e0ea9..5de7f9c 100644 --- a/src/wolff_potts.cpp +++ b/src/wolff_potts.cpp @@ -11,6 +11,7 @@ #include // include wolff.h +#include #include typedef state_t , potts_t> sim_t; -- cgit v1.2.3-70-g09d2