From 743cca00e2aa4b848edcba3ce9ca62f7894dc3b0 Mon Sep 17 00:00:00 2001 From: Magnus Ulimoen Date: Fri, 12 Feb 2021 18:09:15 +0100 Subject: [PATCH] Revert hdf5 patch (TODO: add back info here) --- Cargo.toml | 5 ----- multigrid/src/file.rs | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 12431b2..1b78d45 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,8 +17,3 @@ debug = true [profile.release] debug = true - -[patch] -[patch.crates-io] -hdf5 = { git = "https://github.com/mulimoen/hdf5-rust.git", branch = "feature/resizable_idx" } -hdf5-sys = { git = "https://github.com/mulimoen/hdf5-rust.git", branch = "feature/resizable_idx" } diff --git a/multigrid/src/file.rs b/multigrid/src/file.rs index 1d4f8cd..c445bb0 100644 --- a/multigrid/src/file.rs +++ b/multigrid/src/file.rs @@ -101,7 +101,7 @@ impl File { .gzip(3) .shuffle(true) .chunk((1, grid.ny(), grid.nx())) - .resizable_idx(&[true, false, false]) + .resizable(true) .create(name, (0, grid.ny(), grid.nx())) }; add_var("rho")?;