|
From: Gordon K. <kin...@us...> - 2004-05-07 19:10:10
|
Update of /cvsroot/teem/teem/src/ten In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9276 Modified Files: aniso.c Log Message: compiler bug? This was causing a problem on the mac Index: aniso.c =================================================================== RCS file: /cvsroot/teem/teem/src/ten/aniso.c,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** aniso.c 22 Apr 2004 07:46:52 -0000 1.31 --- aniso.c 7 May 2004 19:09:58 -0000 1.32 *************** *** 172,176 **** tenAnisoVolume(Nrrd *nout, Nrrd *nin, int aniso, float thresh) { char me[]="tenAnisoVolume", err[AIR_STRLEN_MED]; ! size_t N, I, _I; float *out, *in, *tensor, eval[3], evec[9], c[TEN_ANISO_MAX+1]; int sx, sy, sz, size[3], coord[3], map[NRRD_DIM_MAX]; --- 172,176 ---- tenAnisoVolume(Nrrd *nout, Nrrd *nin, int aniso, float thresh) { char me[]="tenAnisoVolume", err[AIR_STRLEN_MED]; ! size_t N, I, copyI; float *out, *in, *tensor, eval[3], evec[9], c[TEN_ANISO_MAX+1]; int sx, sy, sz, size[3], coord[3], map[NRRD_DIM_MAX]; *************** *** 205,210 **** tenEigensolve(eval, evec, tensor); if (!(AIR_EXISTS(eval[0]) && AIR_EXISTS(eval[1]) && AIR_EXISTS(eval[2]))) { ! _I = I; ! NRRD_COORD_GEN(coord, size, 3, _I); sprintf(err, "%s: not all eigenvalues exist (%g,%g,%g) at sample " "%d = (%d,%d,%d)", --- 205,210 ---- tenEigensolve(eval, evec, tensor); if (!(AIR_EXISTS(eval[0]) && AIR_EXISTS(eval[1]) && AIR_EXISTS(eval[2]))) { ! copyI = I; ! NRRD_COORD_GEN(coord, size, 3, copyI); sprintf(err, "%s: not all eigenvalues exist (%g,%g,%g) at sample " "%d = (%d,%d,%d)", |