From 7f261a2801ab84669f11b4d0ee4177cd9acc2f3e Mon Sep 17 00:00:00 2001 From: macstein Date: Sat, 12 Jun 2021 10:36:37 -0700 Subject: [PATCH] update --- src/MLIAP/mliap_so3.cpp | 10 ++++++++-- src/MLIAP/mliap_so3_math.h | 10 +++++++++- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/MLIAP/mliap_so3.cpp b/src/MLIAP/mliap_so3.cpp index 2027119d86..97e6abb010 100644 --- a/src/MLIAP/mliap_so3.cpp +++ b/src/MLIAP/mliap_so3.cpp @@ -477,8 +477,14 @@ void MLIAP_SO3::compute_W(int nmax, double *arr) delete sqrtD; delete tempM; - delete temparr; - delete tempvl; + for (int iy=0; iy Jacobi_v2; int SO3Math::jacobin(int n, double const* const* mat, double *eval, double **evec) { int i,j; - double mat_cpy[n][n]; + double **mat_cpy; + + mat_cpy = new double* [n]; + for (int iy=0; iy