[github-185] Fix if function in array formulas with 2nd argument evaluating to error. Thanks to Miłosz Rembisz. This closes #185

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879481 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2020-07-03 16:09:03 +00:00
parent be1d2aebf2
commit be09639638
2 changed files with 147 additions and 149 deletions

View File

@ -182,8 +182,6 @@ public final class IfFunc extends Var2or3ArgFunction implements ArrayFunction {
if(vA instanceof ErrorEval){
vals[idx++] = vA;
} else if (vB instanceof ErrorEval) {
vals[idx++] = vB;
} else {
Boolean b;
try {