mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	
							parent
							
								
									eacde16b3e
								
							
						
					
					
						commit
						4842c71019
					
				
					 5 changed files with 29 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -100,7 +100,7 @@ extern "C" {
 | 
			
		|||
            SET_ERROR_CODE(Z3_PARSER_ERROR, errstrm.str().c_str());
 | 
			
		||||
            return of_ast_vector(v);
 | 
			
		||||
        }
 | 
			
		||||
        for (expr * e : ctx->assertions()) {
 | 
			
		||||
        for (expr* e : ctx->tracked_assertions()) {
 | 
			
		||||
            v->m_ast_vector.push_back(e);
 | 
			
		||||
        }
 | 
			
		||||
        return of_ast_vector(v);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -254,7 +254,7 @@ extern "C" {
 | 
			
		|||
        bool initialized = to_solver(s)->m_solver.get() != nullptr;
 | 
			
		||||
        if (!initialized)
 | 
			
		||||
            init_solver(c, s);
 | 
			
		||||
        for (expr * e : ctx->assertions()) {
 | 
			
		||||
        for (expr* e : ctx->tracked_assertions()) {
 | 
			
		||||
            to_solver(s)->assert_expr(e);
 | 
			
		||||
        }
 | 
			
		||||
        to_solver_ref(s)->set_model_converter(ctx->get_model_converter());
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue