summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristoph Groth <christoph.groth@cea.fr>2024-11-19 14:15:44 +0100
committerChristoph Groth <christoph.groth@cea.fr>2025-01-09 13:58:20 +0100
commit0352f2f8b17d32aae62fdd020299c25060c223fd (patch)
treeb4ece9bdb627135c5a727f1b96839c4e3fd2ee42 /src
parentd2a3abaa44f49c45f4f6cc74e00493c86e963b4e (diff)
Catch up with upstream
Diffstat (limited to 'src')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 87a6477..a8eec44 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -17,7 +17,7 @@ fn matmul<D0: Dim, D1: Dim, D2: Dim>(
fn main() {
let a = view![[1.0, 4.0], [2.0, 5.0], [3.0, 6.0]];
let b = array![[0.0, 1.0], [1.0, 1.0]];
- let b = b.reshape((Const::<2>, Dyn(2)));
+ let b = b.reshape((Const::<2>, Dyn(!0)));
let mut c = tensor![[0.0; 2]; 3];