Skip to content

Commit a9fca58

Browse files
author
linzhijun
committed
修改 小bug
1 parent eb509a5 commit a9fca58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csharp/ToolGood.Algorithm2/Internals/MathVisitor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public virtual Operand VisitJudge_fun(mathParser.Judge_funContext context)
213213
if (a.IsError == false) {
214214
if (CharUtil.Equals(type, "=", "==", "===")) {
215215
return a.BooleanValue == args2.BooleanValue ? Operand.True : Operand.False;
216-
} else if (CharUtil.Equals(type, "<>", "!=", "!===")) {
216+
} else if (CharUtil.Equals(type, "<>", "!=", "!==")) {
217217
return a.BooleanValue != args2.BooleanValue ? Operand.True : Operand.False;
218218
}
219219
}
@@ -231,7 +231,7 @@ public virtual Operand VisitJudge_fun(mathParser.Judge_funContext context)
231231
if (a.IsError == false) {
232232
if (CharUtil.Equals(type, "=", "==", "===")) {
233233
return a.BooleanValue == args1.BooleanValue ? Operand.True : Operand.False;
234-
} else if (CharUtil.Equals(type, "<>", "!=", "!===")) {
234+
} else if (CharUtil.Equals(type, "<>", "!=", "!==")) {
235235
return a.BooleanValue != args1.BooleanValue ? Operand.True : Operand.False;
236236
}
237237
}

0 commit comments

Comments
 (0)