From 384a706d88d550b0791eb134a3028a40c4cbc7c4 Mon Sep 17 00:00:00 2001 From: ajz34 Date: Thu, 9 Jul 2026 15:22:11 +0800 Subject: [PATCH 1/2] fix trait import in scf_io --- src/scf_io/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/scf_io/mod.rs b/src/scf_io/mod.rs index 5b97d7f41..faeeeba76 100644 --- a/src/scf_io/mod.rs +++ b/src/scf_io/mod.rs @@ -47,6 +47,9 @@ use self::util::norm; use smear::apply_smearing; use smear::annealed_sigma; +#[allow(unused_imports)] +use tensors::BasicMatUp; + #[pyclass] #[derive(Clone)] pub struct SCF { -- Gitee From de2e4f7fd9d0511318c38e9d4b4abc540fa4f89e Mon Sep 17 00:00:00 2001 From: ajz34 Date: Thu, 9 Jul 2026 15:30:17 +0800 Subject: [PATCH 2/2] Cargo.toml: change mpi version requirement from "0.8.0" to "0.8" (allow auto patch update). --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index df4fc6f31..66db77692 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,7 +44,7 @@ fuzzy-matcher = "0.3.7" #rust_libecpint = {path="../rust_libecpint"} # seems to pull in libssl and libcrypto which is rejected by manylinux reqwest = { version = "0.10", default-features = false, features = ["blocking", "json", "rustls-tls"] } -mpi = {version = "0.8.0", features = ["user-operations", "derive"], optional = true} +mpi = {version = "0.8", features = ["user-operations", "derive"], optional = true} # for cuda #cudarc = "0.10.0" rest_tensors = {path="../rest_tensors"} -- Gitee