Temporary fix for incompatibility with scipy 1.0.0

Check https://github.com/scipy/scipy/issues/8084
parent 1e34c433
Pipeline #14275 passed with stage
in 2 minutes 38 seconds