summaryrefslogtreecommitdiffstats
path: root/src/libcola/conjugate_gradient.cpp
diff options
context:
space:
mode:
authorTim Dwyer <tgdwyer@gmail.com>2006-07-14 05:16:38 +0000
committertgdwyer <tgdwyer@users.sourceforge.net>2006-07-14 05:16:38 +0000
commit73725bb70f211e2376a6377d7ab8fcf9b227ae2c (patch)
tree79067410edd56690e3a753e026cd2cc81f332909 /src/libcola/conjugate_gradient.cpp
parent- improve hint for directed graph toggle (diff)
downloadinkscape-73725bb70f211e2376a6377d7ab8fcf9b227ae2c.tar.gz
inkscape-73725bb70f211e2376a6377d7ab8fcf9b227ae2c.zip
fixed warnings
(bzr r1410)
Diffstat (limited to 'src/libcola/conjugate_gradient.cpp')
-rw-r--r--src/libcola/conjugate_gradient.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcola/conjugate_gradient.cpp b/src/libcola/conjugate_gradient.cpp
index ed8ffbfed..67d15d6a0 100644
--- a/src/libcola/conjugate_gradient.cpp
+++ b/src/libcola/conjugate_gradient.cpp
@@ -35,9 +35,11 @@ matrix_times_vector(valarray<double> const &matrix, /* m * n */
}
}
+/*
static double Linfty(valarray<double> const &vec) {
return std::max(vec.max(), -vec.min());
}
+*/
double
inner(valarray<double> const &x,