Skip to content

Commit

Permalink
Tiny optimization for tradedb
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Jun 20, 2015
1 parent 64211b9 commit 87c9e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tradedb.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def __init__(
self.ID = ID
self.dbname = dbname
self.posX, self.posY, self.posZ = posX, posY, posZ
if haveNumpy:
if ary:
self.pos = ary([posX, posY, posZ], nptype)
self.addedID = addedID or 0
self.stations = ()
Expand Down

0 comments on commit 87c9e28

Please sign in to comment.