stefanv/scikits-image — pull request #4 by tonysyu (2012-05-01 02:33:50+00:00)
Title: Fix gradient test.

`check_grad` assumes 1D input/output. Since the gradient is between images (as opposed to a spatial gradient) it should be safe to take use `check_grad` on a flattened array.