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 Jun 10, 2024
1 parent de3331c commit ea2ffa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TRestAxionOpticsMirror.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ Double_t TRestAxionOpticsMirror::GetReflectivity(const Double_t angle, const Dou
}

Int_t lowAngBin = (Int_t)((ang) / 0.01);
Double_t deltaAng = (ang - (Double_t)(lowAngBin)*0.01) / 0.01; // between 0 and 1
Double_t deltaAng = (ang - (Double_t)(lowAngBin) * 0.01) / 0.01; // between 0 and 1

Double_t REnLowAngLow = fReflectivityTable[lowEnBin][lowAngBin];
Double_t REnLowAngHi = fReflectivityTable[lowEnBin][lowAngBin + 1];
Expand Down Expand Up @@ -449,7 +449,7 @@ Double_t TRestAxionOpticsMirror::GetTransmission(const Double_t angle, const Dou
}

Int_t lowAngBin = (Int_t)((ang) / 0.01);
Double_t deltaAng = (ang - (Double_t)(lowAngBin)*0.01) / 0.01; // between 0 and 1
Double_t deltaAng = (ang - (Double_t)(lowAngBin) * 0.01) / 0.01; // between 0 and 1

Double_t REnLowAngLow = fTransmissionTable[lowEnBin][lowAngBin];
Double_t REnLowAngHi = fTransmissionTable[lowEnBin][lowAngBin + 1];
Expand Down

0 comments on commit ea2ffa1

Please sign in to comment.