We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0da2d9 commit aa77346Copy full SHA for aa77346
src/sparsevec.c
@@ -709,7 +709,7 @@ array_to_sparsevec(PG_FUNCTION_ARGS)
709
710
#ifdef _MSC_VER
711
/* /fp:fast may not propagate +/-Infinity or NaN */
712
-#define IS_NOT_ZERO(v) (isnan((float) v) || isinf((float) v) || ((float) v) != 0)
+#define IS_NOT_ZERO(v) (isnan((float) (v)) || isinf((float) (v)) || ((float) (v)) != 0)
713
#else
714
#define IS_NOT_ZERO(v) (((float) (v)) != 0)
715
#endif
0 commit comments