diff options
author | Franz Zotter <fzotter@users.sourceforge.net> | 2009-01-16 09:16:39 +0000 |
---|---|---|
committer | Franz Zotter <fzotter@users.sourceforge.net> | 2009-01-16 09:16:39 +0000 |
commit | 41caa27f25be208b4216322d99d942f1074e2b9e (patch) | |
tree | 63bf97efefb7bc456e7719eb4afb95583eb5695a /src | |
parent | 091c300de876434ade340f1079f7bfb377539d75 (diff) |
forgot to increase point index for theta in [mtx_spherical_harmonics]
svn path=/trunk/externals/iem/iemmatrix/; revision=10560
Diffstat (limited to 'src')
-rw-r--r-- | src/mtx_spherical_harmonics.c | 3 |
1 files changed, 1 insertions, 2 deletions
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;n<x->l;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) { |