mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-08 12:15:50 +08:00
f52f2c1779
If a method other than 'erosion' or 'dilation' was passed, an `UnboundLocalVariable` error for `pad_value` was raised, which made it difficult to determine the source of the error. Now, an eloquent `ValueError` is raised instead. See #1218.