[Numpy-discussion] ValueError: invalid literal for float()

2009-02-27 Thread Nils Wagner
Hi all, Is it possible to modify the behaviour of float wrt the following situation permas_M[0,2] '1.569809265137D+01' float(permas_M[0,2]) Traceback (most recent call last): File stdin, line 1, in module ValueError: invalid literal for float(): 1.569809265137D+01 The following

Re: [Numpy-discussion] ValueError: invalid literal for float()

2009-02-27 Thread Charles R Harris
On Fri, Feb 27, 2009 at 8:20 AM, Nils Wagner nwag...@iam.uni-stuttgart.dewrote: Hi all, Is it possible to modify the behaviour of float wrt the following situation permas_M[0,2] '1.569809265137D+01' float(permas_M[0,2]) Traceback (most recent call last): File stdin, line 1, in