This commit is contained in:
Lewis Van Winkle
2016-02-24 14:46:16 -06:00
parent 09ef420d5b
commit 4e03677a6f

2
test.c
View File

@@ -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);