summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wiebe <mwwiebe@gmail.com>2010-11-10 17:06:12 -0800
committerCharles Harris <charlesr.harris@gmail.com>2010-12-01 20:02:15 -0700
commit632ba9b0cfc07ef7ca49fedc698ebfd3a9031be2 (patch)
treeccce30a1fd5a9ed1e220661e7c023191d968dbc6
parent0a0873f46ccde5ff24fdef078965b4b79c703742 (diff)
downloadnumpy-632ba9b0cfc07ef7ca49fedc698ebfd3a9031be2.tar.gz
ENH: core: Add half/float16 character code to numpy.typecodes
-rw-r--r--numpy/core/numerictypes.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/numerictypes.py b/numpy/core/numerictypes.py
index 704603fdc..06d9458f3 100644
--- a/numpy/core/numerictypes.py
+++ b/numpy/core/numerictypes.py
@@ -829,12 +829,12 @@ del key
typecodes = {'Character':'c',
'Integer':'bhilqp',
'UnsignedInteger':'BHILQP',
- 'Float':'fdg',
+ 'Float':'jfdg',
'Complex':'FDG',
'AllInteger':'bBhHiIlLqQpP',
- 'AllFloat':'fdgFDG',
+ 'AllFloat':'jfdgFDG',
'Datetime': 'Mm',
- 'All':'?bhilqpBHILQPfdgFDGSUVOMm'}
+ 'All':'?bhilqpBHILQPjfdgFDGSUVOMm'}
# backwards compatibility --- deprecated name
typeDict = sctypeDict