From af8374a9745905bde55e5b19425bf95b2fd3f935 Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Wed, 16 Oct 2013 21:47:12 +0200 Subject: static code analysis: performance (bzr r12695) --- src/libcola/cola.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libcola/cola.cpp') 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& 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; -- cgit v1.2.3