diff --git a/scripts/release.yml b/scripts/release.yml index 2cc5bfd36..21cde1956 100644 --- a/scripts/release.yml +++ b/scripts/release.yml @@ -602,7 +602,7 @@ stages: # Enable on release: - job: PyPIPublish - condition: eq(0,1) + condition: eq(1,1) displayName: "Publish to PyPI" pool: vmImage: "ubuntu-latest" diff --git a/src/tactic/arith/lia2card_tactic.cpp b/src/tactic/arith/lia2card_tactic.cpp index 54dba7e32..e298e30e3 100644 --- a/src/tactic/arith/lia2card_tactic.cpp +++ b/src/tactic/arith/lia2card_tactic.cpp @@ -261,7 +261,6 @@ public: expr* mk_ge(unsigned sz, rational const* weights, expr* const* args, rational const& w) { if (sz == 0) { - return w.is_pos()?m.mk_false():m.mk_true(); return w.is_pos() ? m.mk_false() : m.mk_true(); } if (sz == 1 && weights[0].is_one() && w.is_one()) {