We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e553e7 commit 26fe085Copy full SHA for 26fe085
1 file changed
shared-bindings/bitmapfilter/__init__.c
@@ -90,7 +90,7 @@
90
//|
91
92
93
-STATIC mp_float_t get_m(mp_obj_t mul_obj, mp_float_t sum) {
+STATIC mp_float_t get_m(mp_obj_t mul_obj, int sum) {
94
return mul_obj != mp_const_none ? mp_obj_get_float(mul_obj) : sum ? 1 / (mp_float_t)sum : 1;
95
}
96
0 commit comments