From 24b739381a4f6dc6f36a22cb1899e4fbf1aa0f5e Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Fri, 5 Jul 2013 15:29:13 -0400 Subject: Simplify all() and any() implementations --- vec_pseudo.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'vec_pseudo.h') diff --git a/vec_pseudo.h b/vec_pseudo.h index 4e74379..c83322f 100644 --- a/vec_pseudo.h +++ b/vec_pseudo.h @@ -105,14 +105,14 @@ namespace vecmathlib { bool all() const { - bool res = true; - for (int d=0; d