3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-25 22:03:43 +01:00

correct include in ising2d test.

triqs include goes FIRST.
(for C++14 mode in clang, e.g.).
This commit is contained in:
Olivier Parcollet 2014-04-25 16:07:32 +02:00
parent 09bf713dc8
commit 5172f342be

View File

@ -1,12 +1,11 @@
#include <boost/python.hpp>
#include <iostream>
#include <fstream>
#include <triqs/mc_tools/random_generator.hpp> #include <triqs/mc_tools/random_generator.hpp>
#include <triqs/mc_tools/mc_generic.hpp> #include <triqs/mc_tools/mc_generic.hpp>
#include <triqs/utility/callbacks.hpp> #include <triqs/utility/callbacks.hpp>
#include <triqs/arrays.hpp> #include <triqs/arrays.hpp>
#include <triqs/statistics.hpp> #include <triqs/statistics.hpp>
#include <vector> #include <vector>
#include <iostream>
#include <fstream>
//#define TRIQS_ARRAYS_ENFORCE_BOUNDCHECK //#define TRIQS_ARRAYS_ENFORCE_BOUNDCHECK
// H = -J \sum_<ij> s_i s_j - h \sum_i s_i // H = -J \sum_<ij> s_i s_j - h \sum_i s_i
// theoretical T_c = 2/log(1+sqrt(2)) for J = 1.0 // theoretical T_c = 2/log(1+sqrt(2)) for J = 1.0