mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 19:52:29 +00:00 
			
		
		
		
	update java bindings for arrays
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									fc8193828d
								
							
						
					
					
						commit
						1f5d182f6a
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		|  | @ -91,12 +91,12 @@ public class Model extends Z3Object { | |||
|                     return null; | ||||
|                 else | ||||
|                 { | ||||
|                     if (!Native.isAsArray(getContext().nCtx(), n)) | ||||
|                         throw new Z3Exception( | ||||
|                                 "Argument was not an array constant"); | ||||
|                     if (Native.isAsArray(getContext().nCtx(), n)) { | ||||
|                       long fd = Native.getAsArrayFuncDecl(getContext().nCtx(), n); | ||||
|                       return getFuncInterp(new FuncDecl(getContext(), fd)); | ||||
|                     } | ||||
|                     return FuncInterp(getContext(), n); | ||||
|                 } | ||||
|             } else | ||||
|             { | ||||
|                 throw new Z3Exception( | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue