From ed81ba995f5180e239d48d2649ae7f9c5e6fbce7 Mon Sep 17 00:00:00 2001 From: Magnus Ulimoen Date: Tue, 17 Aug 2021 13:15:36 +0000 Subject: [PATCH] Update indicatif for multi-progressbar --- multigrid/Cargo.toml | 2 +- multigrid/src/system.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/multigrid/Cargo.toml b/multigrid/Cargo.toml index 52ae7c9..067c0bc 100644 --- a/multigrid/Cargo.toml +++ b/multigrid/Cargo.toml @@ -11,7 +11,7 @@ euler = { path = "../euler", features = ["serde1"] } hdf5 = "0.7.0" integrate = { path = "../utils/integrate" } rayon = "1.3.0" -indicatif = "0.15.0" +indicatif = "0.17.0-beta.1" ndarray = { version = "0.14.0", features = ["serde"] } serde = { version = "1.0.115", features = ["derive"] } json5 = "0.3.0" diff --git a/multigrid/src/system.rs b/multigrid/src/system.rs index 016aab2..2f25453 100644 --- a/multigrid/src/system.rs +++ b/multigrid/src/system.rs @@ -412,7 +412,7 @@ impl System { for pb in pbs.into_iter() { pb.finish_and_clear() } - target.join_and_clear().unwrap(); + target.clear().unwrap(); } } }