Skip to content
Browse files
Replace numpy with np after merge
  • Loading branch information
zuphilip committed Feb 19, 2018
1 parent 23ebc40 commit 4e8fdf7bb69db71c41be1682e0f8f178a2fa2084
Showing 1 changed file with 1 addition and 1 deletion.
@@ -411,7 +411,7 @@ def PATCH(a):

@makeargcheck("expected a segmentation image")
return isinstance(a,numpy.ndarray) and a.ndim==2 and a.dtype in int_dtypes
return isinstance(a,np.ndarray) and a.ndim==2 and a.dtype in int_dtypes
@makeargcheck("expected a segmentation with white background")
def WHITESEG(a):
return np.amax(a)==0xffffff

0 comments on commit 4e8fdf7

Please sign in to comment.