Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
marty
marty-public
Commits
ceac61f2
Commit
ceac61f2
authored
Mar 11, 2021
by
Grégoire Uhlrich
Browse files
massless after refresh corrected
parent
062b4f93
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
marty/src/expander.cpp
marty/src/expander.cpp
+0
-1
marty/src/modelBuilder.cpp
marty/src/modelBuilder.cpp
+7
-0
No files found.
marty/src/expander.cpp
View file @
ceac61f2
...
...
@@ -308,7 +308,6 @@ Amplitude Expander::expandLagrangian()
HEPAssert
(
csl
::
TestIndexSanity
(
ampl
),
mty
::
error
::
RuntimeError
,
"Bad index property for "
+
toString
(
ampl
))
std
::
cout
<<
ampl
<<
std
::
endl
;
std
::
vector
<
Wilson
>
newWilsons
=
parseExpression
(
ampl
,
CSL_1
,
false
);
for
(
const
auto
&
w
:
newWilsons
)
{
...
...
marty/src/modelBuilder.cpp
View file @
ceac61f2
...
...
@@ -533,6 +533,9 @@ void ModelBuilder::rotateFields(
);
for
(
int
i
=
0
;
i
<
nMassLessFields
;
++
i
)
{
newFields
[
i
]
->
setMass
(
CSL_0
);
clearDependencies
(
L
.
mass
,
[
&
](
Lagrangian
::
TermType
const
&
t
)
{
return
t
->
contains
(
newFields
[
i
].
get
());
});
}
}
applyUnitaryCondition
(
rotation
);
...
...
@@ -586,6 +589,10 @@ void ModelBuilder::rotateFields(
for
(
int
i
=
0
;
i
<
nMassLessFields
;
++
i
)
{
newFields1
[
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
());
});
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment