Commit 832046eb authored by Manuel Schrauth's avatar Manuel Schrauth
Browse files

bugfix

parent ec447c3c
Pipeline #9980 failed with stage
in 5 minutes and 1 second
......@@ -9,10 +9,6 @@
#include "../hamparts.h"
#include "../metropolis.h"
// --------------------------------
#undef SSH_2D // dimension switch
// --------------------------------
// ----------------------------------- OBSERVABLES --------------------------------
......@@ -395,7 +391,7 @@ class SSH_multisite
// const std::complex<double> K1 = green({w1[0],w1[1],w1[4]},{w1[2],w1[3],w1[4]}) + green({w1[2],w1[3],w1[4]},{w1[0],w1[1],w1[4]});
// const std::complex<double> K2 = green({w2[0],w2[1],w2[4]},{w2[2],w2[3],w2[4]}) + green({w2[2],w2[3],w2[4]},{w2[0],w2[1],w2[4]});
const std::complex<double> K1 = green<decltype(w1)>({w1[0],w1[2],t1},{w1[1],w1[3],t1}) + green<decltype(w1)>>({w1[1],w1[3],t1},{w1[0],w1[2],t1});
const std::complex<double> K1 = green<decltype(w1)>({w1[0],w1[2],t1},{w1[1],w1[3],t1}) + green<decltype(w1)>({w1[1],w1[3],t1},{w1[0],w1[2],t1});
const std::complex<double> K2 = green<decltype(w1)>({w2[0],w2[2],t2},{w2[1],w2[3],t2}) + green<decltype(w1)>({w2[1],w2[3],t2},{w2[0],w2[2],t2});
#else
const auto t1 = w1[2];
......
......@@ -8,6 +8,8 @@
#include <tuple>
#include <iomanip>
#define SSH_2D // dimension switch
using std::cout;
using std::endl;
using std::flush;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment