summaryrefslogtreecommitdiff
path: root/ndarray.h
diff options
context:
space:
mode:
Diffstat (limited to 'ndarray.h')
-rw-r--r--ndarray.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ndarray.h b/ndarray.h
index 9e1b8ba..42cb64f 100644
--- a/ndarray.h
+++ b/ndarray.h
@@ -25,7 +25,7 @@
typedef struct Slice {
ptrdiff_t start;
ptrdiff_t end;
- size_t step;
+ ptrdiff_t step;
} Slice;
#define SLICE(start, end, step) ((Slice){ start, end, step })