diff options
| author | hachem <im@hachem.wtf> | 2024-10-13 15:13:17 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2024-10-13 15:13:17 +0200 |
| commit | 7cc3c78a24b51a58d44e1baff20b86292662390e (patch) | |
| tree | ea7bcb1c6493287abc75f4df55458ed8f4abc1e5 /libpsi-core/src/maths/matrix.rs | |
| parent | 00c4b7c44b1364381c65dccbb190d64b3ff4c1e8 (diff) | |
Mass refactor
Diffstat (limited to 'libpsi-core/src/maths/matrix.rs')
| -rw-r--r-- | libpsi-core/src/maths/matrix.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpsi-core/src/maths/matrix.rs b/libpsi-core/src/maths/matrix.rs index c374a11..58492f9 100644 --- a/libpsi-core/src/maths/matrix.rs +++ b/libpsi-core/src/maths/matrix.rs @@ -230,7 +230,7 @@ impl<T: Float + fmt::Display> fmt::Display for Matrix<T> { .data .iter() .map(|element| { - let element_string = format!("{}", element); + let element_string = element.to_string(); if is_complex { let element_string = element_string.trim_end_matches('i').trim(); |
