mirror of
				https://github.com/eledio-devices/thirdparty-tinyexpr.git
				synced 2025-10-31 08:42:39 +01:00 
			
		
		
		
	Bug fix.
This commit is contained in:
		
							
								
								
									
										2
									
								
								test.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								test.c
									
									
									
									
									
								
							| @@ -382,7 +382,7 @@ void test_dynamic() { | ||||
|         const double answer = cases[i].answer; | ||||
|  | ||||
|         int err; | ||||
|         te_expr *ex = te_compile(expr, lookup, sizeof(lookup), &err); | ||||
|         te_expr *ex = te_compile(expr, lookup, sizeof(lookup)/sizeof(te_variable), &err); | ||||
|         lok(ex); | ||||
|         lfequal(te_eval(ex), answer); | ||||
|         te_free(ex); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user