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 tend to find that if I write code that handles the 
non-empty case naturally then I don't have to change it to do something 
sensible for the empty boundary case.

John.

_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to