isl_stream_read_pw_aff: call isl_pw_aff_union_add instead of isl_pw_aff_add
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 7 Feb 2012 11:09:03 +0000 (12:09 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 7 Feb 2012 11:57:05 +0000 (12:57 +0100)
We missed this in 7a86dd8 (rename isl_pw_aff_add to isl_pw_aff_union_add,
Thu Oct 13 12:16:45 2011 +0200).

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

index 8c9ab36..161a37f 100644 (file)
@@ -2541,7 +2541,7 @@ __isl_give isl_pw_aff *isl_stream_read_pw_aff(struct isl_stream *s)
                pa_i = read_pw_aff_with_dom(s, aff_dom, v);
                vars_drop(v, v->n - n);
 
-               pa = isl_pw_aff_add(pa, pa_i);
+               pa = isl_pw_aff_union_add(pa, pa_i);
        }
 
        if (isl_stream_eat(s, '}'))