Commit 6e7114fd authored by thomas dettbarn's avatar thomas dettbarn
Browse files

third iteration runs through.

parent 72df2963
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -1282,9 +1282,13 @@ static void biDiagonalReductionRight_64(
//		f_e = add( invVal_e, sub(norm_x_e, r_e ) );
		switch(currChannel)
		{
			case  0:magic_shift=norm_x_e+27;break;
			case  1:magic_shift=norm_x_e+17;break;
			default:magic_shift=norm_x_e+17;break;

//
//			case  0:magic_shift=norm_x_e+27;break;
//			case  1:magic_shift=norm_x_e+17;break;
			case 0:
			case 1:magic_shift=norm_x_e+r_e+(*g_e)+23;break;
			default:magic_shift=norm_x_e+r_e+(*g_e)+21;break;
		}
//		magic_shift=-32-30*norm_x_e-norm_x_e2+32*invVal_e+32*f_e;
                for (jCh=idx;jCh<nChannelsC; jCh++)
@@ -1306,6 +1310,8 @@ static void biDiagonalReductionRight_64(
				fwrite(&norm_x_e,sizeof(short),1,f_debug1);
				fwrite(&norm_x_e2,sizeof(short),1,f_debug1);
				fwrite(&invVal_e,sizeof(short),1,f_debug1);
				fwrite(&r_e,sizeof(short),1,f_debug1);
				fwrite(g_e,sizeof(short),1,f_debug1);


				fwrite(&f,sizeof(int),1,f_debug1);