Skip to content

Commit

Permalink
Fix bug in hpolytope print function (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaithak authored Mar 17, 2020
1 parent 7778d5f commit 3716621
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/convex_bodies/hpolytope.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,12 @@ class HPolytope{
// print polytope in input format
void print() {
#ifdef VOLESTI_DEBUG
std::cout << " " << A.rows() << " " << _d + 1 << " float" << std::endl;
std::cout << " " << A.rows() << " " << _d << " float" << std::endl;
#endif
for (unsigned int i = 0; i < A.rows(); i++) {
for (unsigned int j = 0; j < _d; j++) {
#ifdef VOLESTI_DEBUG
std::cout << -A(i, j) << " ";
std::cout << A(i, j) << " ";
#endif
}
#ifdef VOLESTI_DEBUG
Expand Down

0 comments on commit 3716621

Please sign in to comment.