Browse Source

Merge pull request #1176 from fred2020-net/master

Workbook Evaluator bug fix on checking an IF without a third param
pull/1126/head
Tony Qu 2 years ago
committed by GitHub
parent
commit
0aee9bd78b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      main/SS/Formula/WorkbookEvaluator.cs

2
main/SS/Formula/WorkbookEvaluator.cs

@ -636,7 +636,7 @@ namespace NPOI.SS.Formula
((FuncVarPtg)nextPtg).FunctionIndex == FunctionMetadataRegistry.FUNCTION_INDEX_IF)
{
// this is an if statement without a false param (as opposed to MissingArgPtg as the false param)
i++;
//i++;
stack.Push(arg0);
stack.Push(BoolEval.FALSE);
}

Loading…
Cancel
Save