Great. Thanks!
On Fri, Oct 25, 2013 at 6:55 PM, Daniel Wheeler <[email protected]> wrote: > On Thu, Oct 24, 2013 at 6:13 PM, Jon Alm Eriksen > <[email protected]> wrote: >> >> But the sweep function seems to crash when working with vectors. >> This example (modified from the diffusion example) >> >> http://folk.uio.no/jonaerik/files/test.py >> >> raises a TypeError. I'm I doing something wrong here? > > Nothing. You found a bug. I filed a ticket for this: > > http://matforge.org/fipy/ticket/658 > > And the fix is just > > > http://matforge.org/fipy/changeset/2f015d7d9acd1953462a93a52e03c18303c8e2a6/fipy/ > > You could just add the ".flatten()" changes to your version of your > code or update your code from the repository. > > Hope that helps. > > -- > Daniel Wheeler > _______________________________________________ > fipy mailing list > [email protected] > http://www.ctcms.nist.gov/fipy > [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ] _______________________________________________ fipy mailing list [email protected] http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
