]> granicus.if.org Git - jq/commitdiff
Fix `finites`
authorNicolas Williams <nico@cryptonector.com>
Thu, 18 Jun 2015 15:14:52 +0000 (10:14 -0500)
committerNicolas Williams <nico@cryptonector.com>
Thu, 18 Jun 2015 15:14:52 +0000 (10:14 -0500)
builtin.c

index a845db60998c05da355e33db874fa09b6945c8ff..1e3f0854890e7edb764f4ee9507203f430a45b21 100644 (file)
--- a/builtin.c
+++ b/builtin.c
@@ -1359,7 +1359,7 @@ static const char* const jq_builtins[] = {
   "def booleans: select(type == \"boolean\");",
   "def numbers: select(type == \"number\");",
   "def normals: select(isnormal);",
-  "def finites: select(isinfinite|not);",
+  "def finites: select(isfinite);",
   "def strings: select(type == \"string\");",
   "def nulls: select(type == \"null\");",
   "def values: select(. != null);",