>>> numpy.float64(numpy.NaN)==numpy.NaN False Hmm. Bug or feature ? >>> numpy.__version__ 0.9.7.2502 Simon. -- Simon Burton, B.Sc. Licensed PO Box 8066 ANU Canberra 2601 Australia Ph. 61 02 6249 6940 http://arrowtheory.com