Commit 311bf8a
committed
_compute_step_acc: compute Pth root in step computation using Rationals instead of floats
This makes working with units more exact, since the powers of Unitful
units are always rational. Without this, we get powers such as
74981274124 / 1249141204412 for units.1 parent 15eeec1 commit 311bf8a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | | - | |
| 402 | + | |
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
| |||
0 commit comments