Skip to content

Commit 2dea296

Browse files
committed
fix conflict bug
1 parent 83a38be commit 2dea296

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/generators/order_polytope_generator.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Polytope get_orderpoly(Poset const &poset) {
6262
OrderPolytope<Point> OP(poset);
6363
if constexpr (std::is_same< Polytope, OrderPolytope<Point> >::value ) {
6464
return OP;
65-
} else {
65+
} else if constexpr (std::is_same<Polytope, HPolytope<Point> >::value ){
6666
Polytope HP(OP.dimension(), OP.get_dense_mat(), OP.get_vec());
6767
return HP;
6868
} else {

0 commit comments

Comments
 (0)