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 25a59eff..151824e2 100644
--- a/examples/complex.c
+++ b/examples/complex.c
@@ -23,7 +23,7 @@ int main() {
// Put in some data.
cmap_g listMap = cmap_ini;
- *carray2f_at(&table, y, x) = 3.1415927; // table[y][x]
+ *carray2f_at(&table, y, x) = 3.1415927f; // table[y][x]
clist_y_push_back(&tableList, table);
cmap_g_put(&listMap, tableKey, tableList);
cmap_s_put(&myMap, strKey, listMap);