From 2dea296639828da1b27db62182508d45bf8217d8 Mon Sep 17 00:00:00 2001 From: lucaperju Date: Mon, 22 Jul 2024 22:41:55 +0200 Subject: [PATCH] fix conflict bug --- include/generators/order_polytope_generator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/generators/order_polytope_generator.h b/include/generators/order_polytope_generator.h index 25f58cc67..739169e7e 100644 --- a/include/generators/order_polytope_generator.h +++ b/include/generators/order_polytope_generator.h @@ -62,7 +62,7 @@ Polytope get_orderpoly(Poset const &poset) { OrderPolytope OP(poset); if constexpr (std::is_same< Polytope, OrderPolytope >::value ) { return OP; - } else { + } else if constexpr (std::is_same >::value ){ Polytope HP(OP.dimension(), OP.get_dense_mat(), OP.get_vec()); return HP; } else {