diff options
Diffstat (limited to 'examples/complex.c')
| -rw-r--r-- | examples/complex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/complex.c b/examples/complex.c index ff97c141..9f12b424 100644 --- a/examples/complex.c +++ b/examples/complex.c @@ -14,14 +14,14 @@ int main() { int xdim = 4, ydim = 6;
int x = 1, y = 5, tableKey = 42;
const char* strKey = "first";
- cmap_s myMap = cmap__init;
+ cmap_s myMap = cmap_inits;
{ // Construct.
carray2f table = carray2f_init(ydim, xdim, 0.f);
c_print(1, "table: ({}, {})\n", carray2_ydim(table), carray2_xdim(table));
- clist_y tableList = clist__init;
+ clist_y tableList = clist_inits;
// Put in some data.
- cmap_g listMap = cmap__init;
+ cmap_g listMap = cmap_inits;
*carray2f_at(&table, y, x) = 3.1415927f; // table[y][x]
clist_y_push_back(&tableList, table);
|
