Wed Feb 1 11:47:52 CST 2012
On Wed, Feb 1, 2012 at 5:16 PM, email@example.com <firstname.lastname@example.org> wrote:
> Hi all,
> I'm trying to optimize some code that entails a very large number of
> sparse matrix-vector and vctor-vector multiplies. Upon running the
> profiler I see that about 25% of my program's cumulative time is spent
> running asarray_chkfinite. I do not call this routine directly. Can
> anyone tell me what might be calling it and whether there is anything
> obvious I can do about it?
It is called by many routines in order to check input arrays for bad data
(inf/nan) that can cause crashes. A proposed change to allow disabling
these checks is at https://github.com/scipy/scipy/pull/48.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-User