Fixed segfault in Func module when using numpy
Fixed segfault in Func module when using numpy

The C++ py_func_new function assumes it's being passed a 1-dimensional
array, but numpy generates 0-dimensional arrays for scalar inputs to
array / asarray, e.g. when using Func.Sin.

git-svn-id: 0a94a58da23fabb8e7a33964038325afca389743@835 02a645c2-efd0-11dd-984d-ab748d24aa7e

Cantera/cantera-svn,Cantera/cantera-svn,Cantera/cantera-svn,Cantera/cantera-svn,Cantera/cantera-svn,Cantera/cantera-svn