summaryrefslogtreecommitdiff
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
parentd2a3abaa44f49c45f4f6cc74e00493c86e963b4e (diff)
Catch up with upstream
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml2
-rw-r--r--src/main.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 25cbbd5..747f12a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5,7 +5,7 @@ version = 3
[[package]]
name = "mdarray"
version = "0.6.1"
-source = "git+https://github.com/fre-hu/mdarray.git?rev=272f1ff78f7ff82e184cf682c0ea831d7ee11ba3#272f1ff78f7ff82e184cf682c0ea831d7ee11ba3"
+source = "git+https://github.com/fre-hu/mdarray.git?rev=f7aaba4fe618edb5b55f36e8a9425f165f38163c#f7aaba4fe618edb5b55f36e8a9425f165f38163c"
[[package]]
name = "mdarray-test"
diff --git a/Cargo.toml b/Cargo.toml
index 1e67b17..b0e8e33 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2021"
[dependencies]
-mdarray = { git = "https://github.com/fre-hu/mdarray.git", rev = "272f1ff78f7ff82e184cf682c0ea831d7ee11ba3" }
+mdarray = { git = "https://github.com/fre-hu/mdarray.git", rev = "f7aaba4fe618edb5b55f36e8a9425f165f38163c" }
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];