Please find attached a patch for scipy. Regards, Fede