Skip to content

Commit

Permalink
fix conflict bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaperju committed Jul 22, 2024
1 parent 83a38be commit 2dea296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/generators/order_polytope_generator.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Polytope get_orderpoly(Poset const &poset) {
OrderPolytope<Point> OP(poset);
if constexpr (std::is_same< Polytope, OrderPolytope<Point> >::value ) {
return OP;
} else {
} else if constexpr (std::is_same<Polytope, HPolytope<Point> >::value ){
Polytope HP(OP.dimension(), OP.get_dense_mat(), OP.get_vec());
return HP;
} else {
Expand Down

0 comments on commit 2dea296

Please sign in to comment.