mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
fix HMC for non-fundamental representations
This commit is contained in:
parent
73c0b29535
commit
97f7a9ecb3
@ -237,7 +237,7 @@ public:
|
|||||||
|
|
||||||
for (int level = 0; level < as.size(); ++level) {
|
for (int level = 0; level < as.size(); ++level) {
|
||||||
int multiplier = as.at(level).multiplier;
|
int multiplier = as.at(level).multiplier;
|
||||||
ActionLevel<Field> * Level = new ActionLevel<Field>(multiplier);
|
ActionLevel<Field, RepresentationPolicy> * Level = new ActionLevel<Field, RepresentationPolicy>(multiplier);
|
||||||
Level->push_back(new EmptyAction<Field>);
|
Level->push_back(new EmptyAction<Field>);
|
||||||
LevelForces.push_back(*Level);
|
LevelForces.push_back(*Level);
|
||||||
// does it copy by value or reference??
|
// does it copy by value or reference??
|
||||||
|
Loading…
Reference in New Issue
Block a user