Unverified Commit 994d0b7e authored by Ben Graham's avatar Ben Graham Committed by GitHub
Browse files

Merge pull request #25 from dymat/fix_duplicated_if_statement

remove duplicated if clause
parents 6fb9f07c 7db5d16e
...@@ -10,8 +10,6 @@ from cffi import FFI ...@@ -10,8 +10,6 @@ from cffi import FFI
def toLongTensor(dimension, x): def toLongTensor(dimension, x):
if type(x).__name__ == 'LongTensor':
return x
if type(x).__name__ == 'LongTensor': if type(x).__name__ == 'LongTensor':
return x return x
else: else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment