diff options
Diffstat (limited to 'src/trace/siox.cpp')
| -rw-r--r-- | src/trace/siox.cpp | 4 |
1 files 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<cmSize; i++) - if (max<cm[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); |
