CVSROOT: /cvs/ppl Module name: ppl Changes by: hill@cs.unipr.it 2008-04-12 22:20:58 Modified files: src : Grid_public.cc tests/Grid : Makefile.am grid3.cc Added files: tests/Grid : frompolyhedron1.cc Log message: Corrected two bugs in the revised code for constructing a grid from a polyhedron with complexity class: The space dimension of the generator system must be set to be that of the polyhedron. After minimizing the polyhedron (in the case that the complexity is ANY_COMPLEXITY), we must check if the polyhedron is empty, and if it is return the empty grid. Added a new test file for checking this constructor, moved existing tests for it that were in grid3.cc to the new test file, and added a few extra tests to check the use of complexity classes. Patches: http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/ppl/src/Grid_public.cc.diff?cvsroot=ppl&r1=1.69&r2=1.70 http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/ppl/tests/Grid/frompolyhedron1.cc?cvsroot=ppl&rev=1.1 http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/ppl/tests/Grid/Makefile.am.diff?cvsroot=ppl&r1=1.61&r2=1.62 http://www.cs.unipr.it/cgi-bin/cvsweb.cgi/ppl/tests/Grid/grid3.cc.diff?cvsroot=ppl&r1=1.25&r2=1.26