summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml2
-rw-r--r--src/main.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 47d2134..3dbda44 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024"
[dependencies]
-mdarray = { version = "0.7.0" }
+mdarray = { git = "https://github.com/fre-hu/mdarray.git", rev = "2a67f2ec7ed326fad9dc95a94f772b7e2140c8eb" }
diff --git a/src/main.rs b/src/main.rs
index b64fb7b..ccf5705 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -36,7 +36,7 @@ fn main() {
let _ = c[4];
// permute & transpose
- assert_eq!(c.permute([1, 0]), c.reorder());
+ assert_eq!(c.permute([1, 0]), c.transpose());
// Arrays with rank > 6:
let d: Vec<f64> = (0..128).map(|x| x as f64).collect();