polyhedron_sample.c: avoid use of isl_vec internals
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 25 Jun 2013 18:04:50 +0000 (25 20:04 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 25 Jun 2013 18:04:50 +0000 (25 20:04 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
polyhedron_sample.c

index a8c3406..3fc442f 100644 (file)
@@ -26,7 +26,7 @@ int main(int argc, char **argv)
        p = isl_printer_end_line(p);
        isl_printer_free(p);
        assert(sample);
-       if (sample->size > 0)
+       if (isl_vec_size(sample) > 0)
                assert(isl_basic_set_contains(bset, sample));
        isl_basic_set_free(bset);
        isl_vec_free(sample);