Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <[email protected]>
  • Loading branch information
NikolajBjorner committed May 30, 2019
1 parent 8893913 commit f11cb77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/shell/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,13 +262,11 @@ static void parse_cmd_line_args(int argc, char ** argv) {
enable_trace(opt_arg);
}
#endif
#ifdef Z3DEBUG
else if (strcmp(opt_name, "dbg") == 0) {
if (!opt_arg)
error("option argument (-dbg:tag) is missing.");
enable_debug(opt_arg);
}
#endif
else if (strcmp(opt_name, "memory") == 0) {
if (!opt_arg)
error("option argument (-memory:val) is missing.");
Expand Down
7 changes: 4 additions & 3 deletions src/util/mpz.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1783,9 +1783,10 @@ void display_binary_data(std::ostream &out, unsigned val, unsigned numBits) {

template<bool SYNCH>
void mpz_manager<SYNCH>::display_bin(std::ostream & out, mpz const & a, unsigned num_bits) const {
if (is_small(a)) {
display_binary_data(out, static_cast<unsigned>(get_uint64(a)), num_bits);
} else {
if (is_uint(a)) {
display_binary_data(out, get_uint(a), num_bits);
}
else {
#ifndef _MP_GMP
digit_t *ds = digits(a);
unsigned sz = size(a);
Expand Down

0 comments on commit f11cb77

Please sign in to comment.