Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Commit9c6342d
committed
Make the filternorm prop of Images a boolean rather than a {0,1} scalar.
This seems a bit more pythonic and the C-API handles bools just as well.Also filternorm and filterrad are always defined (as bool and float,respectively, so no need to add `... or 0.0` when passing them to theC-API.1 parent2099af4 commit9c6342d
2 files changed
+16
-19
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5410 | 5410 |
| |
5411 | 5411 |
| |
5412 | 5412 |
| |
5413 |
| - | |
5414 |
| - | |
5415 |
| - | |
| 5413 | + | |
| 5414 | + | |
| 5415 | + | |
5416 | 5416 |
| |
5417 | 5417 |
| |
5418 | 5418 |
| |
5419 |
| - | |
| 5419 | + | |
5420 | 5420 |
| |
5421 | 5421 |
| |
5422 | 5422 |
| |
|
Lines changed: 12 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
206 | 206 |
| |
207 | 207 |
| |
208 | 208 |
| |
209 |
| - | |
| 209 | + | |
210 | 210 |
| |
211 | 211 |
| |
212 | 212 |
| |
| |||
412 | 412 |
| |
413 | 413 |
| |
414 | 414 |
| |
415 |
| - | |
416 |
| - | |
| 415 | + | |
| 416 | + | |
417 | 417 |
| |
418 | 418 |
| |
419 | 419 |
| |
| |||
447 | 447 |
| |
448 | 448 |
| |
449 | 449 |
| |
450 |
| - | |
451 |
| - | |
| 450 | + | |
| 451 | + | |
452 | 452 |
| |
453 | 453 |
| |
454 | 454 |
| |
| |||
481 | 481 |
| |
482 | 482 |
| |
483 | 483 |
| |
484 |
| - | |
| 484 | + | |
485 | 485 |
| |
486 | 486 |
| |
487 | 487 |
| |
| |||
720 | 720 |
| |
721 | 721 |
| |
722 | 722 |
| |
723 |
| - | |
724 |
| - | |
| 723 | + | |
725 | 724 |
| |
726 |
| - | |
727 |
| - | |
728 |
| - | |
729 |
| - | |
730 |
| - | |
731 |
| - | |
| 725 | + | |
732 | 726 |
| |
| 727 | + | |
| 728 | + | |
| 729 | + | |
733 | 730 |
| |
734 | 731 |
| |
735 | 732 |
| |
736 |
| - | |
| 733 | + | |
737 | 734 |
| |
738 | 735 |
| |
739 | 736 |
| |
|
0 commit comments
Comments
(0)