mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 19:52:29 +00:00 
			
		
		
		
	build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									9f42338de8
								
							
						
					
					
						commit
						9223f611ba
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -814,6 +814,8 @@ theory_var theory_diff_logic<Ext>::mk_var(enode* n) { | |||
| 
 | ||||
| template<typename Ext> | ||||
| void theory_diff_logic<Ext>::set_sort(expr* n) { | ||||
|     if (m_util.is_numeral(n)) | ||||
|         return; | ||||
|     if (m_util.is_int(n)) { | ||||
|         if (m_lia_or_lra == is_lra) { | ||||
|             throw default_exception("difference logic does not work with mixed sorts"); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue