summaryrefslogtreecommitdiffstats
path: root/src/libcola/conjugate_gradient.cpp
diff options
context:
space:
mode:
authorTim Dwyer <tgdwyer@gmail.com>2006-07-12 06:37:29 +0000
committertgdwyer <tgdwyer@users.sourceforge.net>2006-07-12 06:37:29 +0000
commit61b45f9df2853aa6b09df65773aa281d37b66a85 (patch)
tree83c00e907fa90ea1f61b95c85660ce87d3c442a7 /src/libcola/conjugate_gradient.cpp
parentAdded layout button and ideal connector length spinbox to connector toolbar (diff)
downloadinkscape-61b45f9df2853aa6b09df65773aa281d37b66a85.tar.gz
inkscape-61b45f9df2853aa6b09df65773aa281d37b66a85.zip
- added toggle buttons for directed layout (doesn't do anything yet) and overlap avoiding layout to connector toolbar
- added icon for directed layout toggle button - removed old ref to remove_rectangle_overlaps-test from src/Makefile.am (bzr r1396)
Diffstat (limited to 'src/libcola/conjugate_gradient.cpp')
-rw-r--r--src/libcola/conjugate_gradient.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcola/conjugate_gradient.cpp b/src/libcola/conjugate_gradient.cpp
index 5dfb4363d..ed8ffbfed 100644
--- a/src/libcola/conjugate_gradient.cpp
+++ b/src/libcola/conjugate_gradient.cpp
@@ -97,8 +97,8 @@ conjugate_gradient(valarray<double> const &A,
r -= alpha_k*Ap;
r_r = r_r_new;
}
- printf("njh: %d iters, Linfty = %g L2 = %g\n", k,
- std::max(-r.min(), r.max()), sqrt(r_r));
+ //printf("njh: %d iters, Linfty = %g L2 = %g\n", k,
+ //std::max(-r.min(), r.max()), sqrt(r_r));
// x is solution
}
/*