Error fixed - read, write
@@ -462,7 +462,7 @@ impl Matrix {
/// use peroxide::*;
///
/// let a = matrix(c!(1,2,3,3,2,1), 3, 2, Col);
- /// a.write("test.csv", 0);
+ /// a.write_round("test.csv", 0);
/// ```
pub fn write_round(&self, file_path: &str, round: usize) -> Result<(), Box<Error>> {
let mut wtr = WriterBuilder::new().from_path(file_path)?;
@@ -522,7 +522,7 @@ impl Matrix {
/// use std::process;
///
/// let a = matrix(c!(1,2,3,3,2,1), 3, 2, Col);
- /// a.write("test.csv", 0);
+ /// a.write_round("test.csv", 0);
///
/// let b = Matrix::read("test.csv", false, ','); // header = false, delimiter = ','
/// match b {
