diirt/diirt — pull request #48 by richardfearn (2014-12-02 09:16:16+00:00)
Title: graphene: simplify check of data size in Cell2DDatasets.linearRange

Firstly, this:

((xCount) * (yCount - 1) + xCount)

can be simplifed to:

xCount * yCount

Secondly, the `if` statement tests whether (expected - 1) != (actual - 1), which seems unnecessary.