[ARITH] Canonicalize comparison to move constant to one side (#3467)
authorTianqi Chen <tqchen@users.noreply.github.com>
Mon, 1 Jul 2019 01:05:48 +0000 (18:05 -0700)
committerGitHub <noreply@github.com>
Mon, 1 Jul 2019 01:05:48 +0000 (18:05 -0700)
commit6c81d784dc9459d684604fcf4190fda4cb956c1c
treeb21a893a791ba59adf88621b7b055f055261b302
parent79e071c94c0cebd881336a00d792e346ccbe3b25
[ARITH] Canonicalize comparison to move constant to one side (#3467)
src/arithmetic/rewrite_simplify.cc
tests/python/unittest/test_arith_canonical_simplify.py