From 61e0831d2b93b952a78c129ab1e0b33d00a63d18 Mon Sep 17 00:00:00 2001 From: Haritha Date: Sun, 17 Jun 2018 18:41:33 +0530 Subject: [PATCH] style edit --- src/mlpack/methods/ann/layer/subview.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mlpack/methods/ann/layer/subview.hpp b/src/mlpack/methods/ann/layer/subview.hpp index 5b02b69abe..400d469833 100644 --- a/src/mlpack/methods/ann/layer/subview.hpp +++ b/src/mlpack/methods/ann/layer/subview.hpp @@ -62,7 +62,7 @@ class Subview { // Check if input has been selected as required. if (((input.n_rows != (endRow - beginRow + 1)) || - (input.n_cols != (endCol - beginCol +1))) + (input.n_cols != (endCol - beginCol +1))) && !(endRow == 0 && endCol == 0)) { if (beginCol != 0)