On Oct 11, 2006, at 12:31 PM, Daniel Wheeler wrote:
When you use scipy it is returning numpy arrays, which will not
always work with FiPy. Try to use Numeric
wherever you can. If you need to use scipy, then use Numeric.array
in the way demonstrated below. I haven't
tested this, but it should fix the problem in this case.
This does work, however, I recommend doing
from fipy.tools import numerix
and then applying numerix.array
This way, you're not forcibly introducing the old Numeric library if
you don't need to (like when we finally get everything working with
numpy and the new SciPy).