summaryrefslogtreecommitdiff
path: root/isl_tab.c
diff options
context:
space:
mode:
authorSven Verdoolaege <skimo@kotnet.org>2011-02-05 20:02:44 +0100
committerSven Verdoolaege <skimo@kotnet.org>2011-02-05 21:04:11 +0100
commit10488bffb1aeef848cbc57ce96dd2e4edb9f22c2 (patch)
tree840dd9f8470612b953f3f53c2f53914819b87d09 /isl_tab.c
parent2cf182d628e5c9cc9fad4308b57bbc8309d178b4 (diff)
downloadisl-10488bffb1aeef848cbc57ce96dd2e4edb9f22c2.tar.gz
isl-10488bffb1aeef848cbc57ce96dd2e4edb9f22c2.tar.bz2
isl-10488bffb1aeef848cbc57ce96dd2e4edb9f22c2.zip
isl_tab_add_row: add further explanation
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
Diffstat (limited to 'isl_tab.c')
-rw-r--r--isl_tab.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/isl_tab.c b/isl_tab.c
index 1cc83061..7674866c 100644
--- a/isl_tab.c
+++ b/isl_tab.c
@@ -1630,6 +1630,9 @@ int isl_tab_allocate_var(struct isl_tab *tab)
* d_r d_r d_r d_x/g m
*
* with g the gcd of d_r and d_x and m the lcm of d_r and d_x.
+ *
+ * If tab->M is set, then, internally, each variable x is represented
+ * as x' - M. We then also need no subtract k d_r from the coefficient of M.
*/
int isl_tab_add_row(struct isl_tab *tab, isl_int *line)
{