[Numpy-svn] r3255 - trunk/numpy/core
numpy-svn at scipy.org
numpy-svn at scipy.org
Thu Oct 5 07:37:58 EDT 2006
Author: oliphant
Date: 2006-10-05 06:37:56 -0500 (Thu, 05 Oct 2006)
New Revision: 3255
Modified:
trunk/numpy/core/records.py
Log:
Fix #317 typo.
Modified: trunk/numpy/core/records.py
===================================================================
--- trunk/numpy/core/records.py 2006-10-05 07:23:48 UTC (rev 3254)
+++ trunk/numpy/core/records.py 2006-10-05 11:37:56 UTC (rev 3255)
@@ -514,7 +514,7 @@
elif isinstance(obj, recarray):
copied = 0
- if dtype is not None and (new.dtype != dtype):
+ if dtype is not None and (obj.dtype != dtype):
new = obj.astype(dtype)
copied = 1
else:
More information about the Numpy-svn
mailing list