summaryrefslogtreecommitdiffstats
path: root/src/2geom/conjugate_gradient.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2013-09-21 09:10:12 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2013-09-21 09:10:12 +0000
commit269b32ee83debc03ec3eb54b41b1f05fcb483e15 (patch)
treeadda468460aeb9dde89c6ab7259af0a7f61da185 /src/2geom/conjugate_gradient.cpp
parentUse viewBox for new documents. (diff)
downloadinkscape-269b32ee83debc03ec3eb54b41b1f05fcb483e15.tar.gz
inkscape-269b32ee83debc03ec3eb54b41b1f05fcb483e15.zip
partial 2geom update, fixes linker errors
(duplicate code, should be fixed later) (bzr r12558)
Diffstat (limited to 'src/2geom/conjugate_gradient.cpp')
-rw-r--r--src/2geom/conjugate_gradient.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/2geom/conjugate_gradient.cpp b/src/2geom/conjugate_gradient.cpp
index ae69d5281..588513414 100644
--- a/src/2geom/conjugate_gradient.cpp
+++ b/src/2geom/conjugate_gradient.cpp
@@ -36,6 +36,9 @@
/* lifted wholely from wikipedia. */
+namespace Geom
+{
+
using std::valarray;
static void
@@ -126,6 +129,8 @@ conjugate_gradient(valarray<double> const &A,
// x is solution
}
+} // namespace Geom
+
/*
Local Variables:
mode:c++