From 2ad3ec46b93df01c5c5a298b720e9cf86c2b2d41 Mon Sep 17 00:00:00 2001 From: Nate Weibley Date: Thu, 23 Mar 2017 16:37:52 -0400 Subject: [PATCH] Mark simple min, max, abs methods as const --- matrix/Matrix.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/matrix/Matrix.hpp b/matrix/Matrix.hpp index 5959e4f119..5223a8acc4 100644 --- a/matrix/Matrix.hpp +++ b/matrix/Matrix.hpp @@ -413,7 +413,7 @@ public: } } - Matrix abs() + Matrix abs() const { Matrix r; for (size_t i=0; i