summaryrefslogtreecommitdiffhomepage
path: root/examples/complex.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/complex.c')
-rw-r--r--examples/complex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/complex.c b/examples/complex.c
index 67397669..cbf07af2 100644
--- a/examples/complex.c
+++ b/examples/complex.c
@@ -14,9 +14,9 @@ int main() {
int xdim = 4, ydim = 6;
int x = 1, y = 5, tableKey = 42;
const char* strKey = "first";
- cmap_l listMap = cmap_inits;
+ cmap_l listMap = cmap_l_init();
- cmap_s myMap = cmap_inits;
+ cmap_s myMap = cmap_s_init();
// Construct.
carray2f arr_a = carray2f_init(ydim, xdim, 0.f);