Fix a compatibility problem with numpy 1.9 (close: #362)
Fix a deprecation warning raised by numpy 1.9