1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-12 20:27:06 +01:00

Debugged smearing and adding HMC functions for hirep

This commit is contained in:
Guido Cossu
2016-07-13 17:51:18 +01:00
parent a9ae30f868
commit 9dc345e8e8
12 changed files with 150 additions and 38 deletions

View File

@ -66,13 +66,13 @@ template<class GaugeField> struct ActionLevel{
public:
typedef Action<GaugeField>* ActPtr; // now force the same colours as the rest of the code
int multiplier;
unsigned int multiplier;
std::vector<ActPtr> actions;
ActionLevel(int mul = 1) : multiplier(mul) {
assert (mul > 0);
ActionLevel(unsigned int mul = 1) : actions(0), multiplier(mul) {
assert (mul >= 1);
};
void push_back(ActPtr ptr){
@ -83,5 +83,6 @@ public:
template<class GaugeField> using ActionSet = std::vector<ActionLevel< GaugeField > >;
}}
}
}
#endif