mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 11:42:28 +00:00 
			
		
		
		
	restore single cell
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
		
							parent
							
								
									f324c5286c
								
							
						
					
					
						commit
						d9ca739499
					
				
					 1 changed files with 12 additions and 3 deletions
				
			
		|  | @ -1226,6 +1226,7 @@ namespace nlsat { | ||||||
|          * https://arxiv.org/abs/2003.00409 
 |          * https://arxiv.org/abs/2003.00409 
 | ||||||
|          */ |          */ | ||||||
|         void project_cdcac(polynomial_ref_vector & ps, var max_x) { |         void project_cdcac(polynomial_ref_vector & ps, var max_x) { | ||||||
|  |             bool first = true; | ||||||
|             if (ps.empty()) |             if (ps.empty()) | ||||||
|                 return; |                 return; | ||||||
| 
 | 
 | ||||||
|  | @ -1256,9 +1257,17 @@ namespace nlsat { | ||||||
|                 } |                 } | ||||||
|                 TRACE(nlsat_explain, tout << "project loop, processing var "; display_var(tout, x); tout << "\npolynomials\n"; |                 TRACE(nlsat_explain, tout << "project loop, processing var "; display_var(tout, x); tout << "\npolynomials\n"; | ||||||
|                       display(tout, ps); tout << "\n";); |                       display(tout, ps); tout << "\n";); | ||||||
|                 add_lcs(ps, x); |                 if (first) { | ||||||
|                 psc_discriminant(ps, x); |                     add_lcs(ps, x); | ||||||
|                 psc_resultant(ps, x); |                     psc_discriminant(ps, x); | ||||||
|  |                     psc_resultant(ps, x); | ||||||
|  |                     first = false; | ||||||
|  |                 } | ||||||
|  |                 else { | ||||||
|  |                     add_lcs(ps, x); | ||||||
|  |                     psc_discriminant(ps, x); | ||||||
|  |                     psc_resultant_sample(ps, x, samples); | ||||||
|  |                 } | ||||||
|                  |                  | ||||||
|                 if (m_todo.empty()) |                 if (m_todo.empty()) | ||||||
|                     break; |                     break; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue