mirror of
https://github.com/Z3Prover/z3
synced 2025-06-25 07:13:41 +00:00
fix printing of TBVs
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
This commit is contained in:
parent
83a0611cb9
commit
5176cbeefb
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ bool tbv_manager::intersect(tbv const& a, tbv const& b, tbv& result) {
|
||||||
|
|
||||||
std::ostream& tbv_manager::display(std::ostream& out, tbv const& b, unsigned hi, unsigned lo) const {
|
std::ostream& tbv_manager::display(std::ostream& out, tbv const& b, unsigned hi, unsigned lo) const {
|
||||||
SASSERT(lo <= hi && hi < num_tbits());
|
SASSERT(lo <= hi && hi < num_tbits());
|
||||||
for (unsigned i = lo; i <= hi; ++i) {
|
for (unsigned i = hi+1; i-- > lo; ) {
|
||||||
switch (b.get(i)) {
|
switch (b.get(i)) {
|
||||||
case BIT_0:
|
case BIT_0:
|
||||||
out << '0';
|
out << '0';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue