Fix bone-headed stuff. tst_quantize and tst_filter remain borken.
/** Used in quantize code. Number of explicit bits in significand for
* floats. Bits 0-22 of SP significands are explicit. Bit 23 is
- * implicitly 1. Currently redundant with NC_QUANTIZE_MAX_FLOAT_NSB */
+ * implicitly 1. Currently redundant with NC_QUANTIZE_MAX_FLOAT_NSB
* and with limits.h/climit (FLT_MANT_DIG-1) */
#define BIT_XPL_NBR_SGN_FLT (23)
@@ -596,7 +596,6 @@ nc4_convert_type(const void *src, void *dest, const nc_type src_type,
quantize_mode == NC_QUANTIZE_BITROUND )
{
-
if (quantize_mode == NC_QUANTIZE_BITGROOM){
/* BitGroom interprets nsd as number of significant decimal digits
@@ -661,6 +660,8 @@ nc4_convert_type(const void *src, void *dest, const nc_type src_type,
}
+ }
+
} /* endif quantize */
/* OK, this is ugly. If you can think of anything better, I'm open
