From: Sven Verdoolaege Date: Mon, 3 Dec 2012 08:16:00 +0000 (+0100) Subject: testlib.cc: test_hilbert: fix tests X-Git-Tag: barvinok-0.36~3 X-Git-Url: https://repo.or.cz/w/barvinok.git/commitdiff_plain/430b2795c24ede132bba64f7713899f98d5fefbe testlib.cc: test_hilbert: fix tests Signed-off-by: Sven Verdoolaege --- diff --git a/testlib.cc b/testlib.cc index 28914d7..045772d 100644 --- a/testlib.cc +++ b/testlib.cc @@ -617,13 +617,13 @@ int test_hilbert(struct barvinok_options *options) Matrix_Free(M); M = Cone_Hilbert_Basis(P, options->MaxRays); - assert(M->NbRows = 5); - assert(M->NbColumns = 3); + assert(M->NbRows == 5); + assert(M->NbColumns == 3); Matrix_Free(M); M = Cone_Integer_Hull(P, NULL, 0, options); - assert(M->NbRows = 4); - assert(M->NbColumns = 3); + assert(M->NbRows == 4); + assert(M->NbColumns == 3); Matrix_Free(M); Polyhedron_Free(P);