Commit 71eeab08 authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

SU(3) model: real needed lambda, fixed

parent ecc6e9d9
......@@ -316,9 +316,11 @@ protected:
void fillModelLinksReal()
{
ModelTermType& jOnepm = ModelBaseType::createTerm("jOne_pm");
auto multiplyByZeroPointFive = [](ComplexOrRealType& value) { value *= 0.5;};
for (SizeType a = 0; a < 3; ++a) {
OpForLinkType aOpForLink("Tplus" + ttos(a + 1));
jOnepm.push(aOpForLink, 'N', aOpForLink, 'C', 0.5);
jOnepm.push(aOpForLink, 'N', aOpForLink, 'C', multiplyByZeroPointFive);
}
ModelTermType& jOne33 = ModelBaseType::createTerm("jOne_33");
......
Markdown is supported
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