Skip to content

Commit 0943218

Browse files
committed
Fixing printing
1 parent 57e6aa0 commit 0943218

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ void run_weighted_counter(Ganak& counter, const ArjunNS::SimplifiedCNF& cnf, con
485485
cout << "c s exact arb cpx " << ss.str() << endl;
486486
} else if (mode == 6) {
487487
const MPFComplex* od = dynamic_cast<const MPFComplex*>(ptr);
488-
mpfr_printf("c s exact arb cpx %.8Re + %.8Re\n", od->real, od->imag);
488+
mpfr_printf("c s exact arb cpx %.8Re + %.8Rei\n", od->real, od->imag);
489489
}
490490
}
491491
cout << "c o exact arb " << *cnt << endl;

src/mcomplex-mpfr.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ class MPFComplex : public CMSat::Field {
169169

170170
std::ostream& display(std::ostream& os) const override {
171171
char* tmp = nullptr;
172-
mpfr_asprintf(&tmp, "%.8Re + %.8Re", real, imag);
172+
mpfr_asprintf(&tmp, "%.8Re + %.8Rei", real, imag);
173173
os << tmp;
174174
mpfr_free_str(tmp);
175175
return os;

0 commit comments

Comments
 (0)