From 6d135d7fc0b95c793f314ac005421f5e4b127850 Mon Sep 17 00:00:00 2001 From: Lu Wang Date: Thu, 13 Jun 2013 18:38:46 +0800 Subject: [PATCH] more strict Matrix_less, which was inconsistent --- src/StateManager.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/StateManager.h b/src/StateManager.h index 894d61c..8057091 100644 --- a/src/StateManager.h +++ b/src/StateManager.h @@ -129,9 +129,9 @@ protected: // Note that we only care about the first 4 elements for(int i = 0; i < 4; ++i) { - if(m1.m[i] < m2.m[i] - EPS) + if(m1.m[i] < m2.m[i]) return true; - if(m1.m[i] > m2.m[i] + EPS) + if(m1.m[i] > m2.m[i]) return false; } return false;