From e200d557ec94cc698d6d95d0290aff6d6202420c Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Tue, 19 Nov 2024 13:16:22 -0500 Subject: [PATCH] replace static with const for compatibility with SYCL --- src/KOKKOS/fix_cmap_kokkos.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/KOKKOS/fix_cmap_kokkos.cpp b/src/KOKKOS/fix_cmap_kokkos.cpp index 7501338826..dd92afe9cc 100644 --- a/src/KOKKOS/fix_cmap_kokkos.cpp +++ b/src/KOKKOS/fix_cmap_kokkos.cpp @@ -850,7 +850,7 @@ void FixCMAPKokkos::bc_interpol(double x1, double x2, int low1, int // calculate the bicubic interpolation coefficients c_ij - static int wt[16][16] = + const int wt[16][16] = { {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0}, {-3, 0, 0, 3, 0, 0, 0, 0,-2, 0, 0,-1, 0, 0, 0, 0},