Repository: incubator-hivemall Updated Branches: refs/heads/master 8ac3165db -> 61b7dac2c
Static method should be called static way Project: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/commit/61b7dac2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/tree/61b7dac2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/diff/61b7dac2 Branch: refs/heads/master Commit: 61b7dac2c3d3002c717ecf40daa46f2d8ed46abd Parents: 8ac3165 Author: Makoto Yui <[email protected]> Authored: Tue Sep 18 19:51:42 2018 +0900 Committer: Makoto Yui <[email protected]> Committed: Tue Sep 18 19:51:42 2018 +0900 ---------------------------------------------------------------------- core/src/main/java/hivemall/tools/math/IsNanUDF.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hivemall/blob/61b7dac2/core/src/main/java/hivemall/tools/math/IsNanUDF.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/hivemall/tools/math/IsNanUDF.java b/core/src/main/java/hivemall/tools/math/IsNanUDF.java index 1dd37d0..b69a22f 100644 --- a/core/src/main/java/hivemall/tools/math/IsNanUDF.java +++ b/core/src/main/java/hivemall/tools/math/IsNanUDF.java @@ -27,7 +27,7 @@ public final class IsNanUDF extends UDF { if (num == null) { return null; } else { - return num.isNaN(num); + return Double.isNaN(num); } } }
