3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-08 00:05:46 +00:00

Merge pull request #2329 from Z3Prover/nomp

Nomp
This commit is contained in:
Nikolaj Bjorner 2019-06-07 02:05:11 +02:00 committed by GitHub
commit e731a44880
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
52 changed files with 484 additions and 552 deletions

View file

@ -29,12 +29,9 @@ public:
void operator()(goal_ref const & in,
goal_ref_buffer & result) override {
#pragma omp critical (echo_tactic)
{
m_ctx.regular_stream() << m_msg;
if (m_newline)
m_ctx.regular_stream() << std::endl;
}
m_ctx.regular_stream() << m_msg;
if (m_newline)
m_ctx.regular_stream() << std::endl;
skip_tactic::operator()(in, result);
}
};
@ -61,14 +58,11 @@ public:
void operator()(goal_ref const & in,
goal_ref_buffer & result) override {
double val = (*m_p)(*(in.get())).get_value();
#pragma omp critical (probe_value_tactic)
{
if (m_msg)
m_ctx.diagnostic_stream() << m_msg << " ";
m_ctx.diagnostic_stream() << val;
if (m_newline)
m_ctx.diagnostic_stream() << std::endl;
}
if (m_msg)
m_ctx.diagnostic_stream() << m_msg << " ";
m_ctx.diagnostic_stream() << val;
if (m_newline)
m_ctx.diagnostic_stream() << std::endl;
skip_tactic::operator()(in, result);
}
};