summaryrefslogtreecommitdiffstats
path: root/libdimension/pattern.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/pattern.c')
-rw-r--r--libdimension/pattern.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/pattern.c b/libdimension/pattern.c
index 5751397..b266527 100644
--- a/libdimension/pattern.c
+++ b/libdimension/pattern.c
@@ -40,7 +40,7 @@ void
dmnsn_delete_pattern(dmnsn_pattern *pattern)
{
if (pattern->free_fn) {
- (*pattern->free_fn)(pattern->ptr);
+ pattern->free_fn(pattern->ptr);
}
dmnsn_free(pattern);
}
@@ -57,5 +57,5 @@ double
dmnsn_pattern_value(const dmnsn_pattern *pattern, dmnsn_vector v)
{
v = dmnsn_transform_vector(pattern->trans_inv, v);
- return (*pattern->pattern_fn)(pattern, v);
+ return pattern->pattern_fn(pattern, v);
}