Fix for regression in scipy
Merge pull request #945 from wiredfool/scipy

Fix for regression in SciPy