Skip to content

Commit aa77346

Browse files
committed
Improved code [skip ci]
1 parent b0da2d9 commit aa77346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sparsevec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ array_to_sparsevec(PG_FUNCTION_ARGS)
709709

710710
#ifdef _MSC_VER
711711
/* /fp:fast may not propagate +/-Infinity or NaN */
712-
#define IS_NOT_ZERO(v) (isnan((float) v) || isinf((float) v) || ((float) v) != 0)
712+
#define IS_NOT_ZERO(v) (isnan((float) (v)) || isinf((float) (v)) || ((float) (v)) != 0)
713713
#else
714714
#define IS_NOT_ZERO(v) (((float) (v)) != 0)
715715
#endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy