Skip to content

Commit

Permalink
Escape macros for launcher
Browse files Browse the repository at this point in the history
Co-authored-by: Amanda Lund <alund@anl.gov>
  • Loading branch information
sethrj and amandalund committed May 7, 2024
1 parent 1117dd9 commit 8ce42a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/celeritas/global/ActionLauncher.hh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void launch_action(ExplicitActionInterface const& action,
F&& execute_thread)
{
MultiExceptionHandler capture_exception;
#if CELERITAS_OPENMP == CELERITAS_OPENMP_TRACK
#if defined(_OPENMP) && CELERITAS_OPENMP == CELERITAS_OPENMP_TRACK
# pragma omp parallel for
#endif
for (size_type i = 0; i < num_threads; ++i)
Expand Down

0 comments on commit 8ce42a7

Please sign in to comment.