mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Fix issue https://z3.codeplex.com/workitem/54
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
		
							parent
							
								
									b7c2d9054b
								
							
						
					
					
						commit
						ccb36f1ae7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1305,7 +1305,7 @@ namespace z3 {
 | 
				
			||||||
        expr as_expr() const {
 | 
					        expr as_expr() const {
 | 
				
			||||||
            unsigned n = size();
 | 
					            unsigned n = size();
 | 
				
			||||||
            if (n == 0) 
 | 
					            if (n == 0) 
 | 
				
			||||||
                return ctx().bool_val(false);
 | 
					                return ctx().bool_val(true);
 | 
				
			||||||
            else if (n == 1)
 | 
					            else if (n == 1)
 | 
				
			||||||
                return operator[](0);
 | 
					                return operator[](0);
 | 
				
			||||||
            else {
 | 
					            else {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue