example of diric bugfix for scipy