Commit 78d8d4c
authored
Amend deficit calculation in the power distributor (#577)
- [x] Remove absolute tolerance in floating-point comparison: see
#562 (comment)
for more details
- [x] Remove redundant deficits updates: see
#562 (comment)
for more details
- [x] Consolidate deficits for-loops: see
#562 (comment)
for more details
This is an internal refactoring for the power distribution algorithm
maintaining its functionality, so release notes don't need to be
updated.
Fixes #5721 file changed
+5
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
407 | | - | |
408 | | - | |
409 | | - | |
| 407 | + | |
410 | 408 | | |
411 | 409 | | |
412 | 410 | | |
413 | 411 | | |
414 | 412 | | |
415 | 413 | | |
416 | 414 | | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | 415 | | |
424 | 416 | | |
425 | 417 | | |
426 | 418 | | |
427 | | - | |
428 | | - | |
429 | 419 | | |
430 | | - | |
431 | 420 | | |
432 | | - | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
433 | 425 | | |
434 | 426 | | |
435 | 427 | | |
| |||
0 commit comments