From b17cf0c7ff15ddbbc2594605b93b5789e25dbe6c Mon Sep 17 00:00:00 2001 From: ishmal Date: Thu, 27 Jul 2006 09:41:22 +0000 Subject: [PATCH] fix typo. oops --- src/trace/siox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/trace/siox.cpp b/src/trace/siox.cpp index 84f3b39d2..f06f943e0 100644 --- a/src/trace/siox.cpp +++ b/src/trace/siox.cpp @@ -1642,8 +1642,8 @@ void Siox::normalizeMatrix(float *cm, int cmSize) { float max= -1000000.0f; for (int i=0; i max) - max=cm[i]; + if (cm[i] > max) max=cm[i]; + //good to use STL, but max() is not iterative //float max = *std::max(cm, cm + cmSize); -- 2.30.2