Blame polymake-lrslib.patch
|
Jerry James |
51c14ed |
--- ./apps/polytope/src/lrs_interface.cc.orig 2014-04-04 12:57:29.000000000 -0600
|
|
Jerry James |
51c14ed |
+++ ./apps/polytope/src/lrs_interface.cc 2014-04-07 11:24:05.734648579 -0600
|
|
Jerry James |
51c14ed |
@@ -309,7 +309,7 @@ struct solver::dictionary {
|
|
Jerry James |
aeaf3f3 |
{
|
|
Jerry James |
aeaf3f3 |
// initialize static lrs data
|
|
Jerry James |
aeaf3f3 |
Lin=0;
|
|
Jerry James |
aeaf3f3 |
- Q=lrs_alloc_dat(0);
|
|
Jerry James |
aeaf3f3 |
+ Q=lrs_alloc_dat("");
|
|
Jerry James |
aeaf3f3 |
if (!Q) throw std::bad_alloc();
|
|
Jerry James |
aeaf3f3 |
Q->m=Inequalities.rows()+Equations.rows();
|
|
Jerry James |
aeaf3f3 |
Q->n=Inequalities.cols();
|