Skip to content

Commit

Permalink
Merge pull request #1176 from fred2020-net/master
Browse files Browse the repository at this point in the history
Workbook Evaluator bug fix on checking an IF without a third param
  • Loading branch information
tonyqus authored Oct 11, 2023
2 parents 18b5971 + 6c55dc6 commit 0aee9bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/SS/Formula/WorkbookEvaluator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ public ValueEval EvaluateFormula(OperationEvaluationContext ec, Ptg[] ptgs)
((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);
}
Expand Down

0 comments on commit 0aee9bd

Please sign in to comment.