isl_qpolynomial_morph: properly handle change in number of variables
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 30 Oct 2010 16:26:18 +0000 (18:26 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sat, 30 Oct 2010 16:29:04 +0000 (18:29 +0200)
commitb272373aa9cc24938d3c2f2cac8213930f032864
tree0eac295e07a9c143425f7e0483b37566a94b6eeb
parent530c3d15a2a6666d63a62a4a7d4c73d123068bb2
isl_qpolynomial_morph: properly handle change in number of variables

The original implementation would only substitute the actual variables
and not the integer divisions, but if the number of variables changes,
then the positions of the integer divisions change too and so they have
to be adjusted as well.

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