3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-03 22:05:45 +00:00

fix init for nex_grobner()

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-12-29 14:02:40 -08:00
parent c6e5d434b2
commit e8f29b3144
3 changed files with 7 additions and 4 deletions

View file

@ -36,7 +36,6 @@ grobner::grobner(core *c, intervals *s)
void grobner::grobner_lemmas() {
c().lp_settings().stats().m_grobner_calls++;
m_gc.reset();
m_reported = 0;
TRACE("grobner", tout << "before:\n"; display(tout););
m_gc.compute_basis_loop();
@ -87,6 +86,10 @@ Each step proceeds as follows:
- simplify A using a
*/
void grobner::init() {
m_gc.reset();
}
bool grobner_core::compute_basis_loop() {
while (!done()) {
if (compute_basis_step()) {