Line_Length: handle 0D polytope in 1D space
commitd77d2fae89262d58b9300f01e4a60725948b5014
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 7 May 2009 09:09:01 +0000 (7 11:09 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 7 May 2009 09:18:56 +0000 (7 11:18 +0200)
tree1a9f343f9104b3f41043b78e5df88ad0879a5d5b
parentad0b3105d02fc9f38623f973b014b4533aa5bbbf
Line_Length: handle 0D polytope in 1D space

Line_Length is usually only called on full-dimensional polytopes
since equalities are removed in the very beginning.
However, it may happen that the original polytope is a product of polytopes
and that an equality among the integer points in the polytope is only
discovered after the factorization.
We could choose to check for equalities again (as we do for polytopes
living in non-1D space), but we can just as easily handle the equality
inside Line_Length.
tests/product5 [new file with mode: 0644]
util.c