isl_aff_set_tuple_id: fix check for type of tuple that can be set
commit42398637d6c6806885a381f3dc763572af12f93a
authorSven Verdoolaege <sven.verdoolaege@gmail.com>
Wed, 11 Apr 2018 20:31:49 +0000 (11 22:31 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Wed, 11 Apr 2018 20:42:19 +0000 (11 22:42 +0200)
treedcbf3ff78870e512c5188ec6685483ed13de3569
parent0ce949a1277de2e3121ed5715bdde639d6f4ba0f
isl_aff_set_tuple_id: fix check for type of tuple that can be set

The comment on the function correctly states that the type
is required to be equal to isl_dim_in, but the code introduced
in isl-0.12.1-153-g9da631b7d4 (add isl_aff_set_tuple_id,
Sat Oct 12 20:31:17 2013 +0200) would check for isl_dim_out instead.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
isl_aff.c
isl_test.c