summaryrefslogtreecommitdiffstats
path: root/libdimension/bench
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/bench')
-rw-r--r--libdimension/bench/polynomial.c4
-rw-r--r--libdimension/bench/prtree.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/libdimension/bench/polynomial.c b/libdimension/bench/polynomial.c
index 0313060..b66648c 100644
--- a/libdimension/bench/polynomial.c
+++ b/libdimension/bench/polynomial.c
@@ -64,8 +64,8 @@ main(void)
}
for (size_t i = 0; i < NPOLY; ++i) {
- sandglass_bench_fine(&sandglass, dmnsn_solve_polynomial(p[i], i + 1, x));
- printf("dmnsn_solve_polynomial(x^%zu): %ld\n", i + 1, sandglass.grains);
+ sandglass_bench_fine(&sandglass, dmnsn_polynomial_solve(p[i], i + 1, x));
+ printf("dmnsn_polynomial_solve(x^%zu): %ld\n", i + 1, sandglass.grains);
}
return EXIT_SUCCESS;
diff --git a/libdimension/bench/prtree.c b/libdimension/bench/prtree.c
index 7db2bbc..6f0908a 100644
--- a/libdimension/bench/prtree.c
+++ b/libdimension/bench/prtree.c
@@ -84,7 +84,7 @@ main(void)
dmnsn_object *object = dmnsn_new_fake_object();
object->texture = texture;
DMNSN_INCREF(object->texture);
- dmnsn_initialize_object(object);
+ dmnsn_object_initialize(object);
dmnsn_array_push(objects, &object);
}