Skip to content

Commit

Permalink
Merge pull request #115 from arunkumar-ra/master
Browse files Browse the repository at this point in the history
Fix set membership test to run faster in python2
  • Loading branch information
chfw authored Feb 23, 2018
2 parents 15b8557 + 42033f3 commit f8d00a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyexcel/internal/sheets/matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def cell_value(self, row, column, new_value=None):
:param int column: column index which starts from 0
:param any new_value: new value if this is to set the value
"""
if row in self.row_range() and column in self.column_range():
if row < self.number_of_rows() and column < self.number_of_columns():
if new_value is None:
# get
return self.__array[row][column]
Expand Down

0 comments on commit f8d00a5

Please sign in to comment.