Skip to content

Commit

Permalink
Fixed index error in mode map plots
Browse files Browse the repository at this point in the history
  • Loading branch information
jkgaison65 committed Jul 18, 2024
1 parent c347479 commit 749bc6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Fields/LMCCylindricalCavity.cc
Original file line number Diff line number Diff line change
Expand Up @@ -576,15 +576,15 @@ namespace locust
}
if ((!std::isnan(tE[1])))
{
hTEtheta->Fill(theta-LMCConst::Pi(),r,tE[1]);
hTEtheta->Fill(theta-LMCConst::Pi(),r,tE.back());
}
if ((!std::isnan(tE.front())))
{
hTEr->Fill(theta-LMCConst::Pi(),r,tE.front());
}
if ((!std::isnan(tH[1])))
{
hTHtheta->Fill(theta-LMCConst::Pi(),r,tH[1]);
hTHtheta->Fill(theta-LMCConst::Pi(),r,tH.back());
}
if ((!std::isnan(tH.front())))
{
Expand Down

0 comments on commit 749bc6e

Please sign in to comment.