aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2020-10-13 18:23:21 +0200
committerGravatar GitHub <noreply@github.com> 2020-10-13 09:23:21 -0700
commit6f6f746ef76fb7dac228681d521f5c67e6125b59 (patch)
tree8df2c0395adb4fb6a416fd16136dfd7ef07fa33e /Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.cpp
parentbf82a8e4b75f40e4dcf869c34095f7d997116b1f (diff)
downloadWarpX-6f6f746ef76fb7dac228681d521f5c67e6125b59.tar.gz
WarpX-6f6f746ef76fb7dac228681d521f5c67e6125b59.tar.zst
WarpX-6f6f746ef76fb7dac228681d521f5c67e6125b59.zip
[mini-PR] Fix warnings in QED module (#1433)
* fix warning concerning comparison of int and unsigned int * fix warning concerning unused variables
Diffstat (limited to 'Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.cpp')
-rw-r--r--Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.cpp b/Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.cpp
index 137c0d5bb..3f839ce91 100644
--- a/Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.cpp
+++ b/Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.cpp
@@ -11,6 +11,8 @@
# include <physics/quantum_sync/quantum_sync_engine_tables_generator.hpp>
#endif
+#include <AMReX.H>
+
#include <utility>
#include <vector>
#include <cstdint>
@@ -144,6 +146,7 @@ void QuantumSynchrotronEngine::compute_lookup_tables (
m_lookup_tables_initialized = true;
#else
+ amrex::ignore_unused(ctrl, qs_minimum_chi_part);
amrex::Abort("WarpX was not compiled with table generation support!");
#endif
}