From 0ef26983fcbfa6e6e27103a3410bda079c836eae Mon Sep 17 00:00:00 2001 From: Nikolaj Bjorner Date: Fri, 31 Jan 2025 17:31:37 -0800 Subject: [PATCH] release Signed-off-by: Nikolaj Bjorner --- scripts/release.yml | 2 +- src/tactic/arith/lia2card_tactic.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/release.yml b/scripts/release.yml index 2cc5bfd36c..21cde19566 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 54dba7e325..e298e30e31 100644 --- a/src/tactic/arith/lia2card_tactic.cpp +++ b/src/tactic/arith/lia2card_tactic.cpp @@ -261,7 +261,6 @@ class lia2card_tactic : public tactic { 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()) {