From 8035cbf46fb90ed466d18bd24f61180d083ce8db Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Mon, 14 Mar 2016 18:56:36 +1100 Subject: [PATCH] coord/ops: return the computed value in unary ops --- coord/ops.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coord/ops.hpp b/coord/ops.hpp index 4f035360..e71d23b7 100644 --- a/coord/ops.hpp +++ b/coord/ops.hpp @@ -236,7 +236,7 @@ namespace util { for (size_t i = 0; i < S; ++i) \ out[i] = OP k[i]; \ \ - return k; \ + return out; \ } UNARY_OP(!)