mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Fix extra newline bug in write_smt2
This commit is contained in:
		
							parent
							
								
									6e152f7aa1
								
							
						
					
					
						commit
						80ecd7a26f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -81,7 +81,7 @@ struct Smt2Worker | ||||||
| 		else | 		else | ||||||
| 		{ | 		{ | ||||||
| 			if (width == 0) { | 			if (width == 0) { | ||||||
| 				decl_str = stringf("(declare-fun |%s| (|%s_s|) Bool)\n", name.c_str(), get_id(module)); | 				decl_str = stringf("(declare-fun |%s| (|%s_s|) Bool)", name.c_str(), get_id(module)); | ||||||
| 			} else { | 			} else { | ||||||
| 				decl_str = stringf("(declare-fun |%s| (|%s_s|) (_ BitVec %d))", name.c_str(), get_id(module), width); | 				decl_str = stringf("(declare-fun |%s| (|%s_s|) (_ BitVec %d))", name.c_str(), get_id(module), width); | ||||||
| 			} | 			} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue