Repository navigation
Commit 51d2673
committed
in reldiff checking function, take the absolute value of the max error
The reldiff checking function checks `abs(r1-r2) < r2 *
tolerance`.
When `r2` is negative, it's important to take the absolute value of
*both* sides.1 parent d6b79e6 commit 51d2673
4 files changed
Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4163 | 4163 | | |
4164 | 4164 | | |
4165 | 4165 | | |
4166 | | - | |
| 4166 | + | |
4167 | 4167 | | |
4168 | 4168 | | |
4169 | 4169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12933 | 12933 | | |
12934 | 12934 | | |
12935 | 12935 | | |
12936 | | - | |
| 12936 | + | |
12937 | 12937 | | |
12938 | 12938 | | |
12939 | 12939 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12269 | 12269 | | |
12270 | 12270 | | |
12271 | 12271 | | |
12272 | | - | |
| 12272 | + | |
12273 | 12273 | | |
12274 | 12274 | | |
12275 | 12275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
537 | 537 | | |
538 | 538 | | |
539 | 539 | | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
540 | 553 | | |
541 | 554 | | |
542 | 555 | | |
| |||
0 commit comments