mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Fixed model-converter segfault in ::check_sat. Relates to #881
This commit is contained in:
		
							parent
							
								
									54280b6cc5
								
							
						
					
					
						commit
						e4411265ea
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -220,7 +220,8 @@ lbool check_sat(tactic & t, goal_ref & g, model_ref & md, labels_vec & labels, p
 | 
			
		|||
    else {
 | 
			
		||||
        if (models_enabled) {
 | 
			
		||||
          model_converter2model(m, mc.get(), md);
 | 
			
		||||
          (*mc)(labels, 0);
 | 
			
		||||
          if (mc)
 | 
			
		||||
              (*mc)(labels, 0);
 | 
			
		||||
        }
 | 
			
		||||
        reason_unknown = "incomplete";
 | 
			
		||||
        return l_undef;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue