Use safe_as_int to check provided output shape

This commit is contained in:
Stefan van der Walt
2014-05-08 19:28:29 +02:00
parent b68b14f025
commit a9dcdc3713
4 changed files with 11 additions and 5 deletions
+3 -1
View File
@@ -5,8 +5,10 @@ import sys
import six
from ._warnings import all_warnings
from ._safe_as_int import safe_as_int
__all__ = ['deprecated', 'get_bound_method_class', 'all_warnings']
__all__ = ['deprecated', 'get_bound_method_class', 'all_warnings',
'safe_as_int']
class skimage_deprecation(Warning):