Commit 8e68152
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 the
C-API.1 parent e2a0813 commit 8e68152
2 files changed
Lines changed: 13 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5170 | 5170 | | |
5171 | 5171 | | |
5172 | 5172 | | |
5173 | | - | |
5174 | | - | |
5175 | | - | |
| 5173 | + | |
| 5174 | + | |
| 5175 | + | |
5176 | 5176 | | |
5177 | 5177 | | |
5178 | 5178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
427 | | - | |
| 427 | + | |
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
| 462 | + | |
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
| |||
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
495 | | - | |
| 495 | + | |
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
| |||
735 | 735 | | |
736 | 736 | | |
737 | 737 | | |
738 | | - | |
739 | | - | |
| 738 | + | |
740 | 739 | | |
741 | | - | |
742 | | - | |
743 | | - | |
744 | | - | |
745 | | - | |
746 | | - | |
| 740 | + | |
747 | 741 | | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
748 | 745 | | |
749 | 746 | | |
750 | 747 | | |
751 | | - | |
| 748 | + | |
752 | 749 | | |
753 | 750 | | |
754 | 751 | | |
| |||
0 commit comments