From 8e483a5434e251590a21a286753f1d95d93fc59d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Crozet=20S=C3=A9bastien?= Date: Sun, 25 Oct 2020 16:20:27 +0100 Subject: [PATCH] Fix reshaping test. --- examples/reshaping.rs | 8 ++++++-- src/base/edition.rs | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) 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));