replace static with const for compatibility with SYCL

This commit is contained in:
Axel Kohlmeyer
2024-11-19 13:16:22 -05:00
parent c50a8d83d1
commit e200d557ec

View File

@ -850,7 +850,7 @@ void FixCMAPKokkos<DeviceType>::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},