From a8220a850290f3a69e230534ec9c7bd57df1195e Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Wed, 15 Sep 2021 16:08:53 -0400 Subject: [PATCH] cosmetic changes --- src/fix_neigh_history.cpp | 3 ++- src/math_eigen_impl.h | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fix_neigh_history.cpp b/src/fix_neigh_history.cpp index 64b1db018d..7156363334 100644 --- a/src/fix_neigh_history.cpp +++ b/src/fix_neigh_history.cpp @@ -14,7 +14,6 @@ #include "fix_neigh_history.h" -#include #include "my_page.h" #include "atom.h" #include "comm.h" @@ -26,6 +25,8 @@ #include "memory.h" #include "error.h" +#include + using namespace LAMMPS_NS; using namespace FixConst; diff --git a/src/math_eigen_impl.h b/src/math_eigen_impl.h index 132434e547..a3dbf3d323 100644 --- a/src/math_eigen_impl.h +++ b/src/math_eigen_impl.h @@ -506,8 +506,7 @@ _Jacobi(int n, Scalar **M, int *max_idx_row) { this->M = M; this->max_idx_row = max_idx_row; //assert(this->max_idx_row); - } - else { + } else { is_preallocated = false; SetSize(n); // allocate the "M" and "max_int_row" arrays }