[mathicgb] 177/393: fixes debug assert
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Fri Apr 3 15:58:56 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch upstream
in repository mathicgb.
commit 8e55eebf4e5f0c411c2b1a4457175c310c9d55bf
Author: Christian Eder <ederc at mathematik.uni-kl.de>
Date: Tue Feb 19 15:29:48 2013 +0100
fixes debug assert
---
src/mathicgb/F4MatrixProjection.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/mathicgb/F4MatrixProjection.cpp b/src/mathicgb/F4MatrixProjection.cpp
index 82728d0..efe71c3 100644
--- a/src/mathicgb/F4MatrixProjection.cpp
+++ b/src/mathicgb/F4MatrixProjection.cpp
@@ -255,7 +255,9 @@ QuadMatrix F4MatrixProjection::makeAndClearOneStep(const size_t quantum) {
done:;
}
}
+#ifdef MATHICGB_DEBUG
tb.debugAssertValid();
+#endif
// Split left/right and top/bottom simultaneously
LeftRight top(mColProjectTo, ring(), quantum);
@@ -340,7 +342,9 @@ QuadMatrix F4MatrixProjection::makeAndClearTwoStep(const size_t quantum) {
tb.addRow(r, entry.index(), entry.scalar());
}
}
+#ifdef MATHICGB_DEBUG
tb.debugAssertValid();
+#endif
QuadMatrix qm;
auto left = projectRows(tb, quantum, lr.moveLeft());
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mathicgb.git
More information about the debian-science-commits
mailing list