remove unnecessary comparison
remove unnecessary comparison
Merge pull request #633 from sdavis2702/master

Remove unnecessary comparisons. Closes #632.
Merge remote-tracking branch 'upstream/master' into ja

* upstream/master:
  remove unnecessary comparison
  remove unnecessary comparison