Permalink
Browse files

REF speed up by removing redundant code

  • Loading branch information...
1 parent 934d2ec commit e4d66b68a84ca6c7c1afb5acd8dee78d3bcf8b6c @kwgoodman committed Oct 18, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 la/flarry.py
View
@@ -103,7 +103,7 @@ def align(lar1, lar2, join='inner', cast=True):
# Align
x1, x2, label, x1isview, x2isview = align_raw(lar1, lar2, join=join,
- cast=cast)
+ cast=cast)
# Convert x1 array to larry
label1 = []
@@ -1392,8 +1392,6 @@ def stack(mode, **kwargs):
raise ValueError('mode must be union or intersection')
row = logic(0, *kwargs.values())
col = logic(1, *kwargs.values())
- row.sort()
- col.sort()
x = np.zeros((len(kwargs), len(row), len(col)))
zlabel = []
keys = sorted(kwargs.keys())

0 comments on commit e4d66b6

Please sign in to comment.