From 5c3143e7b7d0979d6eed07b6dfbe9f214159bdbb Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Tue, 31 May 2016 19:42:00 +0000
Subject: [PATCH] Use nucleus displaced centre in vertex move

---
 src/shcomplex.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/shcomplex.c b/src/shcomplex.c
index 5dc6a97..bd3a733 100644
--- a/src/shcomplex.c
+++ b/src/shcomplex.c
@@ -69,7 +69,7 @@
     if(sph->co != NULL) free(sph->co);
     if(sph->ulm !=NULL) free(sph->ulm);
     if(sph->ulmComplex !=NULL) free(sph->ulmComplex);
-
+    if(sph->sumUlm2 !=NULL) free(sph->sumUlm2);
         if(sph->Ylmi!=NULL) {
             for(i=0;i<sph->l;i++){
                 if(sph->Ylmi[i]!=NULL){

--
Gitblit v1.9.3