Skip to content

Commit

Permalink
Address warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwbrei committed Jul 3, 2024
1 parent 530baf5 commit 82bc753
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/libraries/JANA/CLI/JMain.cc
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ UserOptions ParseCommandLineOptions(int nargs, char *argv[], bool expect_extra)
} else {
options.dump_config_file = "jana.config";
}
break;

case InspectCollection:
options.flags[InspectCollection] = true;
Expand Down
2 changes: 1 addition & 1 deletion src/python/common/janapy.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ inline uint32_t janapy_GetNThreads(void) { return pyjapp->GetNThreads(); }
inline uint32_t janapy_SetNThreads(int Nthreads) { auto prev = pyjapp->GetNThreads(); pyjapp->Scale(Nthreads); return prev; }
inline size_t janapy_GetNcores(void) { return JCpuInfo::GetNumCpus(); }
inline void janapy_PrintStatus(void) { pyjapp->PrintStatus(); }
inline void janapy_PrintParameters(bool all=false) { pyjapp->GetJParameterManager()->PrintParameters(all); }
inline void janapy_PrintParameters(bool all=false) { pyjapp->GetJParameterManager()->PrintParameters((all ? 3 : 1), 0); }
inline string janapy_GetParameterValue(string key) { return pyjapp->GetJParameterManager()->Exists(key) ? pyjapp->GetParameterValue<string>(key):"Not Defined"; }

inline void janapy_Run(void)
Expand Down

0 comments on commit 82bc753

Please sign in to comment.