From 11b2e9afe59fcfa4640d69149d4abde94b981a2a Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Tue, 25 Jan 2022 23:18:07 +0000 Subject: [PATCH] incorrect check git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897478 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/poi/ss/formula/functions/NormDist.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/poi/src/main/java/org/apache/poi/ss/formula/functions/NormDist.java b/poi/src/main/java/org/apache/poi/ss/formula/functions/NormDist.java index 32fd5bc300..3b81e5ec86 100644 --- a/poi/src/main/java/org/apache/poi/ss/formula/functions/NormDist.java +++ b/poi/src/main/java/org/apache/poi/ss/formula/functions/NormDist.java @@ -48,8 +48,6 @@ public final class NormDist extends Fixed4ArgFunction implements FreeRefFunction Double xval = evaluateValue(arg1, srcRowIndex, srcColumnIndex); if (xval == null) { return ErrorEval.VALUE_INVALID; - } else if (xval < 0) { - return ErrorEval.NUM_ERROR; } Double mean = evaluateValue(arg2, srcRowIndex, srcColumnIndex); if (mean == null) {