Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit ceac61f2 authored by Grégoire Uhlrich's avatar Grégoire Uhlrich
Browse files

massless after refresh corrected

parent 062b4f93
...@@ -308,7 +308,6 @@ Amplitude Expander::expandLagrangian() ...@@ -308,7 +308,6 @@ Amplitude Expander::expandLagrangian()
HEPAssert(csl::TestIndexSanity(ampl), HEPAssert(csl::TestIndexSanity(ampl),
mty::error::RuntimeError, mty::error::RuntimeError,
"Bad index property for " + toString(ampl)) "Bad index property for " + toString(ampl))
std::cout << ampl << std::endl;
std::vector<Wilson> newWilsons std::vector<Wilson> newWilsons
= parseExpression(ampl, CSL_1, false); = parseExpression(ampl, CSL_1, false);
for (const auto &w : newWilsons) { for (const auto &w : newWilsons) {
......
...@@ -533,6 +533,9 @@ void ModelBuilder::rotateFields( ...@@ -533,6 +533,9 @@ void ModelBuilder::rotateFields(
); );
for (int i = 0; i < nMassLessFields; ++i) { for (int i = 0; i < nMassLessFields; ++i) {
newFields[i]->setMass(CSL_0); newFields[i]->setMass(CSL_0);
clearDependencies(L.mass, [&](Lagrangian::TermType const &t) {
return t->contains(newFields[i].get());
});
} }
} }
applyUnitaryCondition(rotation); applyUnitaryCondition(rotation);
...@@ -586,6 +589,10 @@ void ModelBuilder::rotateFields( ...@@ -586,6 +589,10 @@ void ModelBuilder::rotateFields(
for (int i = 0; i < nMassLessFields; ++i) { for (int i = 0; i < nMassLessFields; ++i) {
newFields1[i]->setMass(CSL_0); newFields1[i]->setMass(CSL_0);
newFields2[i]->setMass(CSL_0); newFields2[i]->setMass(CSL_0);
clearDependencies(L.mass, [&](Lagrangian::TermType const &t) {
return t->contains(newFields1[i].get())
|| t->contains(newFields2[i].get());
});
} }
} }
......
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