diff --git a/examples/reshaping.rs b/examples/reshaping.rs index f164e192..60cb9bdd 100644 --- a/examples/reshaping.rs +++ b/examples/reshaping.rs @@ -37,8 +37,12 @@ fn main() { 6, 2, &[ - 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, - 0.0, 0.0, 0.0, 0.0, 1.0, 0.0 + 1.0, 0.0, + 0.0, 1.0, + 0.0, 0.0, + 0.0, 1.0, + 0.0, 0.0, + 0.0, 0.0, ], ); diff --git a/src/base/edition.rs b/src/base/edition.rs index 06f64f7a..d69582d9 100644 --- a/src/base/edition.rs +++ b/src/base/edition.rs @@ -861,8 +861,12 @@ where /// 6, /// 2, /// &[ - /// 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, - /// 0.0, 0.0, 0.0, 0.0, 1.0, 0.0 + /// 1.0, 0.0, + /// 0.0, 1.0, + /// 0.0, 0.0, + /// 0.0, 1.0, + /// 0.0, 0.0, + /// 0.0, 0.0, /// ], /// ); /// let reshaped = dm1.reshape_generic(Dynamic::new(6), Dynamic::new(2));