isl_test.c: test_div: use return value of isl_constraint_set_coefficient
commit1334d45a18a4e564fa2f0fb377f78f084cf4e63c
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 7 Jan 2017 13:43:57 +0000 (7 14:43 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 9 Jan 2017 15:45:34 +0000 (9 16:45 +0100)
tree25b971d6965205631101974e9c3db3f625e3f6e8
parentf17449d832ccb9086b2407a290af78e18f5c08e3
isl_test.c: test_div: use return value of isl_constraint_set_coefficient

This was missing from e2a2317 (reimplement isl_constraint in terms
of isl_aff, Fri Jul 1 17:20:52 2011 +0200).
Even though isl_constraint_set_coefficient may theoretically return
a different pointer, it will not do so in practice in this case
because there are no other references to the input constraint.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_test.c