mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-30 19:22:28 +00:00 
			
		
		
		
	relations with no columns are not always non-empty.
fix that in the udoc datalog backend Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
This commit is contained in:
		
							parent
							
								
									aaa931e0d5
								
							
						
					
					
						commit
						b7397b6967
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -63,7 +63,7 @@ namespace datalog { | |||
|         m_elems.push_back(fact2doc(f)); | ||||
|     } | ||||
|     bool udoc_relation::empty() const { | ||||
|         if (get_signature().empty()) return false; | ||||
|         if (m_elems.is_empty()) return true; | ||||
|         // TBD: make this a complete check
 | ||||
|         for (unsigned i = 0; i < m_elems.size(); ++i) { | ||||
|             if (!dm.is_empty(m_elems[i])) return false; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue