isl_basic_map_foreach_constraint: make sure input has been finalized
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 4 Jun 2010 17:08:34 +0000 (19:08 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 4 Jun 2010 17:08:34 +0000 (19:08 +0200)
commit1a052667ab742e0763877455de16862b32bebbb3
treec24fbe50623407599a4877021d8d8953a5e618aa
parent218439fe3bdbf807e18ec64b8b0372a7de23ded4
isl_basic_map_foreach_constraint: make sure input has been finalized

Each constraint gets a copy of the input and a line from the constraint
matrix of the input.  If the input wouldn't be finalized, then the copy
would create a duplicate and then the line wouldn't match the basic map.
This is problematic for especially isl_constraint_is_equality.
isl_constraint.c