summaryrefslogtreecommitdiffstats
path: root/src/libcola/cola.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2013-10-16 19:47:12 +0000
committerKris <Kris.De.Gussem@hotmail.com>2013-10-16 19:47:12 +0000
commitaf8374a9745905bde55e5b19425bf95b2fd3f935 (patch)
treefe0f4cc183027fa595b61b69275c69e2d2af8142 /src/libcola/cola.cpp
parentFix colour variable type with gtkmm 3 (diff)
downloadinkscape-af8374a9745905bde55e5b19425bf95b2fd3f935.tar.gz
inkscape-af8374a9745905bde55e5b19425bf95b2fd3f935.zip
static code analysis: performance
(bzr r12695)
Diffstat (limited to 'src/libcola/cola.cpp')
-rw-r--r--src/libcola/cola.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcola/cola.cpp b/src/libcola/cola.cpp
index 87fbf9f79..51560a79c 100644
--- a/src/libcola/cola.cpp
+++ b/src/libcola/cola.cpp
@@ -271,7 +271,7 @@ void ConstrainedMajorizationLayout::straighten(std::vector<straightener::Edge*>&
double b[n],*coords=dim==HORIZONTAL?X:Y,dist_ub,dist_bv;
std::fill(b,b+n,0);
for(LinearConstraints::iterator i=linearConstraints.begin();
- i!= linearConstraints.end();i++) {
+ i!= linearConstraints.end();++i) {
LinearConstraint* c=*i;
if(straightenToProjection) {
Q[c->u][c->u]+=c->w*c->duu;