diff options
author | PJ Fanning <fanningpj@apache.org> | 2022-01-25 23:18:07 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2022-01-25 23:18:07 +0000 |
commit | 11b2e9afe59fcfa4640d69149d4abde94b981a2a (patch) | |
tree | 1c4f293a77d88dba9986aaa5be18585d02735b3b /poi/src | |
parent | 958e992032647dddeeff8d994812d910fb50213a (diff) | |
download | poi-11b2e9afe59fcfa4640d69149d4abde94b981a2a.tar.gz poi-11b2e9afe59fcfa4640d69149d4abde94b981a2a.zip |
incorrect check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897478 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi/src')
-rw-r--r-- | poi/src/main/java/org/apache/poi/ss/formula/functions/NormDist.java | 2 |
1 files changed, 0 insertions, 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) { |