From 41caa27f25be208b4216322d99d942f1074e2b9e Mon Sep 17 00:00:00 2001 From: Franz Zotter Date: Fri, 16 Jan 2009 09:16:39 +0000 Subject: forgot to increase point index for theta in [mtx_spherical_harmonics] svn path=/trunk/externals/iem/iemmatrix/; revision=10560 --- src/mtx_spherical_harmonics.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mtx_spherical_harmonics.c') diff --git a/src/mtx_spherical_harmonics.c b/src/mtx_spherical_harmonics.c index 3be43c2..9ea0f84 100644 --- a/src/mtx_spherical_harmonics.c +++ b/src/mtx_spherical_harmonics.c @@ -107,10 +107,9 @@ static void mTXShMatrix (MTXSh *x, t_symbol *s, x->l=columns; allocMTXdata(x); } - for (n=0;nl;n++) { x->phi[n]=(double) atom_getfloat(argv+n); - x->theta[n]=(double) atom_getfloat(argv+columns); + x->theta[n]=(double) atom_getfloat(argv+columns+n); } if (x->ws!=0) { -- cgit v1.2.1