Skip to content

Commit

Permalink
fix: wrong ambient dimension output for polytopes
Browse files Browse the repository at this point in the history
  • Loading branch information
Yue Ren committed May 29, 2012
1 parent b44e248 commit a6d4e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion callgfanlib/bbpolytope.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ std::string bbpolytopeToString(gfan::ZCone const &c)
gfan::ZMatrix i=c.getInequalities();
gfan::ZMatrix e=c.getEquations();
s<<"AMBIENT_DIM"<<std::endl;
s<<c.ambientDimension()<<std::endl;
s<<c.ambientDimension()-1<<std::endl;
s<<"INEQUALITIES"<<std::endl;
s<<toString(i);
s<<"EQUATIONS"<<std::endl;
Expand Down

0 comments on commit a6d4e59

Please sign in to comment.