mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-09 11:33:41 +08:00
BUG: Fix typo in dtype converter integer list.
This commit is contained in:
@@ -13,7 +13,7 @@ dtype_range = {np.uint8: (0, 255),
|
||||
np.float32: (0, 1),
|
||||
np.float64: (0, 1)}
|
||||
|
||||
integer_types = (np.uint8, np.int16, np.int8, np.int16)
|
||||
integer_types = (np.uint8, np.uint16, np.int8, np.int16)
|
||||
|
||||
def _convert(image, dtype, prec_loss):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user