Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mx.jruby/mx_jruby.py
Original file line number Diff line number Diff line change
@@ -463,7 +463,7 @@ def filterLines(self, lines):
data.append(float(line))
except ValueError:
log(line)
if data.size % 2 != 0:
if len(data) % 2 != 0:
raise AssertionError("Odd number of values")
return data

0 comments on commit 99abbd5

Please sign in to comment.