mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-01 12:31:10 +08:00
Merge pull request #53 from cgohlke/patch-1
Fix ImportError on Python 3
This commit is contained in:
commit
1f101ceb6f
1 file changed
+1
-1
@@ -68,7 +68,7 @@ def greyscale_dilate(image, selem, out=None):
|
||||
if image is out:
|
||||
raise NotImplementedError("In-place dilation not supported!")
|
||||
try:
|
||||
import cmorph
|
||||
from . import cmorph
|
||||
out = cmorph.dilate(image, selem, out=out)
|
||||
return out;
|
||||
except ImportError:
|
||||
|
||||
Reference in new issue
Block a user