Repository navigation
Commit 037bbec
Both were left by the Copilot reviewer on #664, which merged before I had read them.
SolverRegressionTest had `using PeterO.Numbers;` and never named a type from it --
the EDecimal occurrences are all property accesses on a Real, which need no using.
Removed. The library builds with TreatWarningsAsErrors, so an unused using is worth
not leaving lying about.
DivergesInMagnitude was flagged for calling Limit up to three times. The three are
distinct and the || short-circuits, so there was nothing to cache, but there was a
real waste next to it: at an infinite destination there is only one side to approach
from, so the two one-sided limits are both pointless and meaningless there. They are
now only asked for when the destination is finite.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent 8d4af56 commit 037bbec
2 files changed
Lines changed: 11 additions & 4 deletions
File tree
- Sources
- AngouriMath/Functions/Continuous/Limits
- Tests/UnitTests/Common
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
72 | 80 | | |
73 | 81 | | |
74 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
0 commit comments