Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c417369

Browse files
committed
Export _InterpolationType rather than interpolation_e
1 parent bfaf1a7 commit c417369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_image_wrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ static void image_resample(pybind11::array input_array,
202202

203203

204204
PYBIND11_MODULE(_image, m) {
205-
pybind11::enum_<interpolation_e>(m, "interpolation_e")
205+
pybind11::enum_<interpolation_e>(m, "_InterpolationType")
206206
.value("NEAREST", NEAREST)
207207
.value("BILINEAR", BILINEAR)
208208
.value("BICUBIC", BICUBIC)

0 commit comments

Comments
 (0)