isl_multi_*_reset_space_and_domain: call isl_*_reset_domain_space
commita3253c286e3184e5195bafd6b9fc2f39318a8089
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 16 Jul 2012 10:39:28 +0000 (16 12:39 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 18 Sep 2012 12:59:00 +0000 (18 14:59 +0200)
tree2aa7b94c6c2b13ecec743f3b9c6e4108c7f23f5f
parent9c833e66e1dffc229594631e4bb07cf410c9f6a9
isl_multi_*_reset_space_and_domain: call isl_*_reset_domain_space

The original code would call isl_*_reset_space_and_domain,
but the space of the multi_* is clearly different from the space of the *,
so it does not make sense to pass that space to the *.
In case of isl_multi_aff, this does not cause any problems because
isl_aff_reset_space_and_domain ignore the first argument.
However, for an isl_multi_pw_aff, this would cause problems.
Call isl_*_reset_domain_space instead.

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