From 47c90120b6c3a4162c433db74c6977687d5f11bf Mon Sep 17 00:00:00 2001 From: Sameed Pervaiz Date: Wed, 15 Nov 2023 14:21:37 -0500 Subject: [PATCH] Fix Owl.Mat.sequential off-by-one error Previously, the tutorial implied that the Owl.Mat.sequential function creates a matrix that starts at 1, and then showed the same output after incrementing every element by 1; this seems like a typo: `sequential` by default starts at 0, so the example output should start at 0. --- book/linear-algebra/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/book/linear-algebra/README.md b/book/linear-algebra/README.md index 26dacbe..b993e70 100644 --- a/book/linear-algebra/README.md +++ b/book/linear-algebra/README.md @@ -117,10 +117,10 @@ You should be able to see the following output in your `utop`. ```text C0 C1 C2 C3 C4 C5 - R0 1 2 3 4 5 6 - R1 7 8 9 10 11 12 - R2 13 14 15 16 17 18 - R3 19 20 21 22 23 24 + R0 0 1 2 3 4 5 + R1 6 7 8 9 10 11 + R2 12 13 14 15 16 17 + R3 18 19 20 21 22 23 ```