diff --git a/Cargo.toml b/Cargo.toml index ffcde7a1..f1d6f68e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nalgebra" -version = "0.8.1" +version = "0.8.2" authors = [ "Sébastien Crozet " ] # FIXME: add the contributors. description = "Linear algebra library for computer physics, computer graphics and general low-dimensional linear algebra for Rust." diff --git a/src/structs/matrix.rs b/src/structs/matrix.rs index 4949d770..e52f64e0 100644 --- a/src/structs/matrix.rs +++ b/src/structs/matrix.rs @@ -35,6 +35,12 @@ impl Identity { } } +impl fmt::Display for Identity { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + write!(f, "Identity") + } +} + /// Square matrix of dimension 1. #[repr(C)] #[derive(Eq, PartialEq, RustcEncodable, RustcDecodable, Clone, Hash, Debug, Copy)]