Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 21, 2024
1 parent a402d7f commit bfb5535
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/TRestAxionWolterOptics.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,11 @@ void TRestAxionWolterOptics::Initialize() {

fXSep.clear();
for (unsigned int n = 0; n < fAlpha.size(); n++)
if (fR2[n]==fR3[n]){
if (fR2[n] == fR3[n]) {
fXSep.push_back(0);
}
else {
} else {
fXSep.push_back(2 * (fR1[n] - fR3[n] - fMirrorLength * TMath::Sin(fAlpha[n])) /
TMath::Tan(fAlpha[n]));
TMath::Tan(fAlpha[n]));
}

if (fAlpha.size() == 0) return;
Expand Down

0 comments on commit bfb5535

Please sign in to comment.