Skip to content

Commit

Permalink
Fixed off by one range issue
Browse files Browse the repository at this point in the history
  • Loading branch information
iolojz committed Feb 6, 2017
1 parent ecae20e commit 1f7d060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta/GMuonMinus2.m
Expand Up @@ -618,7 +618,7 @@ If you add new kinds of vertices (e.g for new diagram types):
indexBounds = (With[{particleIndex = #},
(If[#[[1]] === SARAH`generation,
{particleInfo[[particleIndex, 2]]-1, particleInfo[[particleIndex, 3]]},
{1, #[[2]]}]
{0, #[[2]]}]
&) /@ particleInfo[[particleIndex, 5]]]
&) /@ Table[i, {i, Length[particles]}];
indexBounds = Cases[Flatten[indexBounds, 1], Except[{}]];
Expand Down

0 comments on commit 1f7d060

Please sign in to comment.