aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFranz Zotter <fzotter@users.sourceforge.net>2009-01-16 09:16:39 +0000
committerFranz Zotter <fzotter@users.sourceforge.net>2009-01-16 09:16:39 +0000
commit41caa27f25be208b4216322d99d942f1074e2b9e (patch)
tree63bf97efefb7bc456e7719eb4afb95583eb5695a /src
parent091c300de876434ade340f1079f7bfb377539d75 (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.c3
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) {