3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 13:28:47 +00:00

Fix API logging bug

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-01-06 21:25:46 -08:00
parent 4d578b418f
commit 3e19df0441

View file

@ -251,7 +251,7 @@ extern "C" {
Z3_string Z3_API Z3_rcf_num_to_decimal_string(Z3_context c, Z3_rcf_num a, unsigned prec) { Z3_string Z3_API Z3_rcf_num_to_decimal_string(Z3_context c, Z3_rcf_num a, unsigned prec) {
Z3_TRY; Z3_TRY;
LOG_Z3_rcf_num_to_string(c, a); LOG_Z3_rcf_num_to_decimal_string(c, a, prec);
RESET_ERROR_CODE(); RESET_ERROR_CODE();
reset_rcf_cancel(c); reset_rcf_cancel(c);
std::ostringstream buffer; std::ostringstream buffer;