Issue235: fix counting of function calls in optimize.fmin_powell In all the fmin_* functions, wrap the passed function with a routine that does the counting of function calls, and passing the args to it. Also do that for counting gradient calls.
Issue235: fix counting of function calls in optimize.fmin_powell
In all the fmin_* functions, wrap the passed function with a routine that
does the counting of function calls, and passing the args to it.
Also do that for counting gradient calls.


git-svn-id: 003f22d385e25de9cff933a5ea4efd77cb5e7b28@1275 d6536bca-fef9-0310-8506-e4c0a848fbcf

scipy/scipy-svn,jasonmccampbell/scipy-refactor,scipy/scipy-svn,scipy/scipy-svn,lesserwhirls/scipy-cwt,scipy/scipy-svn,jasonmccampbell/scipy-refactor,lesserwhirls/scipy-cwt,lesserwhirls/scipy-cwt,jasonmccampbell/scipy-refactor,lesserwhirls/scipy-cwt,jasonmccampbell/scipy-refactor