henjo/pycircuit — pull request #14 by michaelnt (2012-01-08 12:17:47+00:00)
Title: Fix import so that version 0.10.0 of scipy can be used

importing pycircuit with version 0.10 of scipy gives the following error, seems factorial is not in the top level namespace any more.

This change is backwards compatible with version 0.9 of scipy.

/data/Work/pycircuit/pycircuit/utilities/fourier.py in ()
from __future__ import division
import numpy as np
from scipy import factorial, interpolate, linalg
ImportError: cannot import name factorial