Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Apr 11, 2024
1 parent 8f05617 commit 69c4409
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 1 addition & 3 deletions src/RMGManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,7 @@ void RMGManager::Run() {

// configure UI
std::unique_ptr<G4UIExecutive> session = nullptr;
if (fInteractive) {
session = StartInteractiveSession();
}
if (fInteractive) { session = StartInteractiveSession(); }

// eventually execute macros
auto UI = G4UImanager::GetUIpointer();
Expand Down
6 changes: 4 additions & 2 deletions src/RMGPhysics.cc
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,8 @@ void RMGPhysics::DefineCommands() {

fMessenger->DeclareMethod("EnableGammaAngularCorrelation", &RMGPhysics::SetUseGammaAngCorr)
.SetGuidance("Set correlated gamma emission flag")
.SetCandidates("0 1") // TODO: upstream bug with bools in G4GenericMessenger (only numeric values work).
.SetCandidates(
"0 1") // TODO: upstream bug with bools in G4GenericMessenger (only numeric values work).
.SetStates(G4State_PreInit);

fMessenger->DeclareMethod("GammaTwoJMAX", &RMGPhysics::SetGammaTwoJMAX)
Expand All @@ -379,7 +380,8 @@ void RMGPhysics::DefineCommands() {

fMessenger->DeclareMethod("StoreICLevelData", &RMGPhysics::SetStoreICLevelData)
.SetGuidance("Store e- internal conversion data")
.SetCandidates("0 1") // TODO: upstream bug with bools in G4GenericMessenger (only numeric values work).
.SetCandidates(
"0 1") // TODO: upstream bug with bools in G4GenericMessenger (only numeric values work).
.SetStates(G4State_PreInit);
}

Expand Down

0 comments on commit 69c4409

Please sign in to comment.