From 187117587187c159df3adb7ff231002b73515d29 Mon Sep 17 00:00:00 2001 From: jtclemm Date: Wed, 5 Aug 2020 17:20:13 -0600 Subject: [PATCH] Patched fix/store --- src/fix_store.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fix_store.cpp b/src/fix_store.cpp index ac663a7913..b693aa94d8 100644 --- a/src/fix_store.cpp +++ b/src/fix_store.cpp @@ -301,7 +301,7 @@ void FixStore::unpack_restart(int nlocal, int nth) // skip to Nth set of extra values int m = 0; - for (int i = 0; i < nth; i++) m += (int) ubuf(extra[nlocal][m]).i; + for (int i = 0; i < nth; i++) m += static_cast extra[nlocal][m]; m++; if (vecflag) vstore[nlocal] = extra[nlocal][m];