From 7010269f3bc74c764f5b4e9c72dd069ce34fb244 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo@altea> Date: Wed, 18 May 2016 17:56:30 +0000 Subject: [PATCH] Fix in memory leak. There were also leaks in the old code probably. --- src/sh.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/sh.h b/src/sh.h index 32df46b..ae5cd3e 100644 --- a/src/sh.h +++ b/src/sh.h @@ -1,3 +1,4 @@ +/* vim: set ts=4 sts=4 sw=4 noet : */ #ifndef _H_SH #define _H_SH #include "general.h" @@ -6,6 +7,7 @@ ts_double shY(ts_int l,ts_int m,ts_double theta,ts_double fi); ts_bool *cart2sph(ts_coord *coord, ts_double x, ts_double y, ts_double z); +ts_bool sph2cart(ts_coord *coord); ts_bool precomputeShCoeff(ts_spharm *sph); ts_spharm *sph_init(ts_vertex_list *vlist, ts_uint l); ts_bool sph_free(ts_spharm *sph); -- Gitblit v1.9.3