David Cournapeau schrieb:
> Well, I think nobody argues that scipy function should crash whatever
> input you give :). The problem is more how to treat them. For example,
> using numpy.linalg.pinv crashes numpy right now, det and fft do not
> work, and norm returns 0. This is seems inconcistent
hi all,
I'm using f2py to compile a f90 function, parallelized with openmp, into a
shared object, that I can import in python.
the question is: when I call the function from python, how can I specify the
number of threads to use?
the usual way of doing it, with a common fortran executable, is sett
Ok so crashing is always bad. What I should have said is that I think
errors are bad in almost all cases as well. The norm returning zero
seems sensible to me so perhaps inversions and such should raise exceptions.
I would much prefer no errors were raised except where necessary.
Like I said I