summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/multidim.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/examples/multidim.c')
-rw-r--r--misc/examples/multidim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/multidim.c b/misc/examples/multidim.c
index 2f3ad907..df8f485d 100644
--- a/misc/examples/multidim.c
+++ b/misc/examples/multidim.c
@@ -14,7 +14,7 @@ int main()
ispan ms1 = cspan_from(&v);
// View the same data as a 3D array 2 x 3 x 4
- ispan3 ms3 = cspan_md(v.data, 2, 3, 4);
+ ispan3 ms3 = cspan_md('C', v.data, 2, 3, 4);
puts("ms3:");
for (int i=0; i != ms3.shape[0]; i++) {