diff --git a/src/structs/dmat.rs b/src/structs/dmat.rs index 3a176398..ebbf0ce9 100644 --- a/src/structs/dmat.rs +++ b/src/structs/dmat.rs @@ -633,11 +633,11 @@ impl> ApproxEq for DMat { } } -impl Debug for DMat { +impl Debug for DMat { fn fmt(&self, form:&mut Formatter) -> Result { for i in 0..self.nrows() { for j in 0..self.ncols() { - let _ = write!(form, "{} ", self[(i, j)]); + let _ = write!(form, "{:?} ", self[(i, j)]); } let _ = write!(form, "\n"); }