Skip to content

Commit 72223b4

Browse files
author
linzhijun
committed
fix bug
1 parent 59ce3d5 commit 72223b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/ToolGood.Algorithm2/Internals/MathVisitor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2822,7 +2822,7 @@ private static Tuple<string, decimal> sumifMatch(string s)
28222822
} else if (decimal.TryParse(s.AsSpan(1).Trim(), out decimal d)) {
28232823
return Tuple.Create(">", d);
28242824
}
2825-
} else if (c == '<' || c < '<') {
2825+
} else if (c == '<' || c == '<') {
28262826
if (s.Length > 1 && (s[1] == '=' || s[1] == '=')) {
28272827
if (decimal.TryParse(s.AsSpan(2).Trim(), out decimal d)) {
28282828
return Tuple.Create("<=", d);

0 commit comments

Comments
 (0)