From 5ad84a0a4974bed8b34c0e30167dbabbd08f7edf Mon Sep 17 00:00:00 2001 From: Stan Gerald Moore Date: Mon, 17 May 2021 09:08:59 -0600 Subject: [PATCH] Fix unitialized variable --- src/KOKKOS/sna_kokkos_impl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/KOKKOS/sna_kokkos_impl.h b/src/KOKKOS/sna_kokkos_impl.h index 8f28c2ada6..7a4fdd0ece 100644 --- a/src/KOKKOS/sna_kokkos_impl.h +++ b/src/KOKKOS/sna_kokkos_impl.h @@ -55,6 +55,7 @@ SNAKokkos::SNAKokkos(real_type rfac0_in, ncoeff = compute_ncoeff(); nmax = 0; + natom = 0; build_indexlist();