Commit 3de57e41 authored by fotopoulou's avatar fotopoulou
Browse files

revert threshold for svd zero flush

parent d4574f97
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -180,6 +180,7 @@
/* all switches in this category should start with "NONBE_" */

#define NONBE_FIX_1070_USAN_SEGFAULT_MC_TO_BIN_BTSW_HEADROT   /* fix 1070 USAN: nullptr-with-offset and Segfaults in 7_1_4 to BINAURAL and BINAURAL_ROOM_REVERB decoding with bitrate switching and head rotation*/
#define REVERT_ZERO_FLUSH_TRESH                               /* FhG: issue 1069: revert threshold value introduced with !1518 due to significant complexity increase*/ 
/* ##################### End NON-BE switches ########################### */

/* ################## End DEVELOPMENT switches ######################### */
+4 −0
Original line number Diff line number Diff line
@@ -51,7 +51,11 @@
#define SVD_MINIMUM_VALUE        1e-32f   /* minimum value                                                   */
#define CONVERGENCE_FACTOR       1.0e-04f /* factor for SVD convergence                                      */
#define SVD_MAX_NUM_ITERATION    75       /* maximum number of interations before exiting the SVD            */
#ifdef REVERT_ZERO_FLUSH_TRESH
#define SVD_ZERO_FLUSH_THRESHOLD 1.0e-20f
#else
#define SVD_ZERO_FLUSH_THRESHOLD 0.0f
#endif


/*-----------------------------------------------------------------------*