aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/ElementaryProcess
diff options
context:
space:
mode:
authorGravatar Axel Huebl <axel.huebl@plasma.ninja> 2023-06-14 15:02:18 -0700
committerGravatar GitHub <noreply@github.com> 2023-06-14 15:02:18 -0700
commit3673b587490e1106f816cdefea1d9531c8cd6544 (patch)
tree45774076747f3723f7f929668175c0d336fd7176 /Source/Particles/ElementaryProcess
parent36d691d326d60f9168f020297fe523c66c082aa4 (diff)
downloadWarpX-3673b587490e1106f816cdefea1d9531c8cd6544.tar.gz
WarpX-3673b587490e1106f816cdefea1d9531c8cd6544.tar.zst
WarpX-3673b587490e1106f816cdefea1d9531c8cd6544.zip
Fix: 1D Abort in Kernels (#3987)
Regression to #3965
Diffstat (limited to 'Source/Particles/ElementaryProcess')
-rw-r--r--Source/Particles/ElementaryProcess/QEDSchwingerProcess.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/ElementaryProcess/QEDSchwingerProcess.H b/Source/Particles/ElementaryProcess/QEDSchwingerProcess.H
index cab63b967..bf4c566b3 100644
--- a/Source/Particles/ElementaryProcess/QEDSchwingerProcess.H
+++ b/Source/Particles/ElementaryProcess/QEDSchwingerProcess.H
@@ -83,7 +83,7 @@ struct SchwingerTransformFunc
for (int n = 0; n < N; ++n){
#if defined(WARPX_DIM_1D_Z)
amrex::ignore_unused(dst1, dst2, i_dst1, i_dst2, N, total_weight);
- WARPX_ABORT_WITH_MESSAGE("SchwingerTransformFunc not implemented in 1D");
+ amrex::Abort("SchwingerTransformFunc not implemented in 1D");
#elif defined(WARPX_DIM_3D)
dst1.m_rdata[m_weight_index][i_dst1+n] = total_weight/N;
dst2.m_rdata[m_weight_index][i_dst2+n] = total_weight/N;