summaryrefslogtreecommitdiffstats
path: root/bench/libdimension
diff options
context:
space:
mode:
Diffstat (limited to 'bench/libdimension')
-rw-r--r--bench/libdimension/list.c2
-rw-r--r--bench/libdimension/prtree.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/bench/libdimension/list.c b/bench/libdimension/list.c
index 6cd0bc1..ce6c6cc 100644
--- a/bench/libdimension/list.c
+++ b/bench/libdimension/list.c
@@ -105,7 +105,7 @@ main(void)
printf("dmnsn_list_split(): %ld\n", sandglass.grains);
/* dmnsn_list_sort() */
- sandglass_bench(&sandglass, dmnsn_list_sort(list, &dmnsn_comparator));
+ sandglass_bench(&sandglass, dmnsn_list_sort(list, dmnsn_comparator));
printf("dmnsn_list_sort(): %ld\n", sandglass.grains);
/* dmnsn_list_remove() */
diff --git a/bench/libdimension/prtree.c b/bench/libdimension/prtree.c
index e568d7d..6e793e4 100644
--- a/bench/libdimension/prtree.c
+++ b/bench/libdimension/prtree.c
@@ -59,8 +59,8 @@ dmnsn_new_fake_object(void)
dmnsn_object *object = dmnsn_new_object();
/* Generate a bounding box in (-1, -1, -1), (1, 1, 1) */
dmnsn_randomize_bounding_box(object);
- object->intersection_fn = &dmnsn_fake_intersection_fn;
- object->inside_fn = &dmnsn_fake_inside_fn;
+ object->intersection_fn = dmnsn_fake_intersection_fn;
+ object->inside_fn = dmnsn_fake_inside_fn;
return object;
}