mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 03:32:28 +00:00 
			
		
		
		
	fix init for nex_grobner()
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
		
							parent
							
								
									c6e5d434b2
								
							
						
					
					
						commit
						e8f29b3144
					
				
					 3 changed files with 7 additions and 4 deletions
				
			
		|  | @ -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()) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue