We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83a38be commit 2dea296Copy full SHA for 2dea296
include/generators/order_polytope_generator.h
@@ -62,7 +62,7 @@ Polytope get_orderpoly(Poset const &poset) {
62
OrderPolytope<Point> OP(poset);
63
if constexpr (std::is_same< Polytope, OrderPolytope<Point> >::value ) {
64
return OP;
65
- } else {
+ } else if constexpr (std::is_same<Polytope, HPolytope<Point> >::value ){
66
Polytope HP(OP.dimension(), OP.get_dense_mat(), OP.get_vec());
67
return HP;
68
} else {
0 commit comments