diff options
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) { |