From 179d6dfdc58f0174bdcbb159b567a231f640ebc3 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 16 Oct 2018 01:41:02 +0100 Subject: [PATCH] add reshaping section --- simple_v_extension/specification.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simple_v_extension/specification.mdwn b/simple_v_extension/specification.mdwn index 894a62f9b..cc8626e13 100644 --- a/simple_v_extension/specification.mdwn +++ b/simple_v_extension/specification.mdwn @@ -475,7 +475,7 @@ shows this more clearly, and may be executed as a python program: lims = [xdim, ydim, zdim] idxs = [0,0,0] - order = [1,0,2] + order = [1,0,2] # experiment with different permutations, here for idx in range(xdim * ydim * zdim): new_idx = idxs[0] + idxs[1] * xdim + idxs[2] * xdim * ydim -- 2.30.2