isl_qpolynomial_eval: handle void input
commitca1aaa43dfba360899c6c9114a25bd7331941d8b
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 28 Nov 2016 11:18:18 +0000 (28 12:18 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 29 Nov 2016 08:58:24 +0000 (29 09:58 +0100)
treea65a5e1bbb3ae9efc9a5bbc69e67789c5f59c49c
parent31e3071bfd1324887f173449b2c82a6f7ba9570d
isl_qpolynomial_eval: handle void input

It is not clear if it makes sense to evaluate a polynomial in a void point,
but at least the evaluation should not crash.
Check whether the input is void and return NaN if it is.

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