summaryrefslogtreecommitdiffstats
path: root/src/libnr/nr-matrix.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2008-03-01 22:24:40 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2008-03-01 22:24:40 +0000
commit9e0ac2b4acbb628a7ff51e779b5396569aed8269 (patch)
tree872398fd3d7e4da46eb57e9cea07eabacf3ab0f2 /src/libnr/nr-matrix.cpp
parent* [INTL: zh_CN] (trunk) Simplified Chinese update by Liu Xiaoqin (closes: #19... (diff)
downloadinkscape-9e0ac2b4acbb628a7ff51e779b5396569aed8269.tar.gz
inkscape-9e0ac2b4acbb628a7ff51e779b5396569aed8269.zip
remove assert_close
(bzr r4916)
Diffstat (limited to 'src/libnr/nr-matrix.cpp')
-rw-r--r--src/libnr/nr-matrix.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/libnr/nr-matrix.cpp b/src/libnr/nr-matrix.cpp
index db01b966e..ed482f46f 100644
--- a/src/libnr/nr-matrix.cpp
+++ b/src/libnr/nr-matrix.cpp
@@ -590,28 +590,6 @@ bool matrix_equalp(Matrix const &m0, Matrix const &m1, NR::Coord const epsilon)
-
-
-/**
- * A home-made assertion. Stop if the two matrixes are not 'close' to
- * each other.
- */
-void assert_close(Matrix const &a, Matrix const &b)
-{
- if (!matrix_equalp(a, b, 1e-3)) {
- fprintf(stderr,
- "a = | %g %g |,\tb = | %g %g |\n"
- " | %g %g | \t | %g %g |\n"
- " | %g %g | \t | %g %g |\n",
- a[0], a[1], b[0], b[1],
- a[2], a[3], b[2], b[3],
- a[4], a[5], b[4], b[5]);
- std::abort();
- }
-}
-
-
-
} //namespace NR