summaryrefslogtreecommitdiffhomepage
path: root/examples/complex.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-01-30 23:05:36 +0100
committerTyge Løvset <[email protected]>2021-01-30 23:05:36 +0100
commitb3d9e68fa2c2ec9ebe7e3f08045d01db5b720eea (patch)
tree100c3d8b5a2df433efd9cf148d3c66506f1d288b /examples/complex.c
parent5c196be3cfa172ca521ced0cf5d9b7d0acec5b83 (diff)
downloadSTC-modified-b3d9e68fa2c2ec9ebe7e3f08045d01db5b720eea.tar.gz
STC-modified-b3d9e68fa2c2ec9ebe7e3f08045d01db5b720eea.zip
Internal changes: removed use of cmap_inits and set_inits. Use cmap_x_init() and cset_X_init(). Minor changes in cvec, csmap, cstr, crandom.
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);