Commit 7c66302
committed
Fix bug in equal3 for within() checks on strings
We need to return quickly if the arguments are identical and are not numbers, but need to avoid the identical-ness check for numbers so that we can return false in the case of within(1%<m>)(1%<s>, 1%<s>). The previous code had a logic bug where it skipped identical-ness checks on all within() calls, when it should only skip them for within() calls on numbers1 parent a788536 commit 7c66302
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1987 | 1987 | | |
1988 | 1988 | | |
1989 | 1989 | | |
| 1990 | + | |
1990 | 1991 | | |
1991 | | - | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
1992 | 1995 | | |
1993 | 1996 | | |
1994 | 1997 | | |
| |||
0 commit comments