diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2006-07-27 09:41:22 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2006-07-27 09:41:22 +0000 |
| commit | ad51e9659e4a125442c663e2f6cf8f317ec4142b (patch) | |
| tree | 2661cfacfe08b69ceb5ea6526f6680ca6d78b7a7 /src/trace/siox.cpp | |
| parent | fix bug in normalizeMatrix, add some better trace messages (diff) | |
| download | inkscape-ad51e9659e4a125442c663e2f6cf8f317ec4142b.tar.gz inkscape-ad51e9659e4a125442c663e2f6cf8f317ec4142b.zip | |
fix typo. oops
(bzr r1491)
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); |
