summaryrefslogtreecommitdiffhomepage
path: root/examples/complex.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/complex.c')
-rw-r--r--examples/complex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/complex.c b/examples/complex.c
index 7cde293c..c9704d73 100644
--- a/examples/complex.c
+++ b/examples/complex.c
@@ -17,7 +17,7 @@ int main() {
cmap_s myMap = cmap_INIT;
{ // Construct.
- carray2f table = carray2f_make(ydim, xdim, 0.f);
+ carray2f table = carray2f_init(ydim, xdim, 0.f);
printf("table: (%zu, %zu)\n", carray2_ydim(table), carray2_xdim(table));
clist_y tableList = clist_INIT;
// Put in some data.