[PPL-devel] [GIT] ppl/ppl(floating_point): Unwanted assertions removed.

Roberto Bagnara bagnara at cs.unipr.it
Thu Jul 29 14:15:46 CEST 2010


Module: ppl/ppl
Branch: floating_point
Commit: ab1d650d0dcb0d122abf3d965c16ebdf94ac3325
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=ab1d650d0dcb0d122abf3d965c16ebdf94ac3325

Author: Roberto Bagnara <bagnara at cs.unipr.it>
Date:   Thu Jul 29 14:15:10 2010 +0200

Unwanted assertions removed.

---

 src/DB_Row.templates.hh |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/DB_Row.templates.hh b/src/DB_Row.templates.hh
index 8684c04..765e719 100644
--- a/src/DB_Row.templates.hh
+++ b/src/DB_Row.templates.hh
@@ -39,7 +39,6 @@ DB_Row_Impl_Handler<T>::Impl::construct_upward_approximation(const U& y) {
     bump_size();
   }
 #else // PPL_CXX_SUPPORTS_FLEXIBLE_ARRAYS
-  PPL_ASSERT(y_size > 0);
   if (y_size > 0) {
     assign_r(vec_[0], y[0], ROUND_UP);
     bump_size();
@@ -100,7 +99,6 @@ DB_Row_Impl_Handler<T>::Impl::copy_construct_coefficients(const Impl& y) {
     bump_size();
   }
 #else // PPL_CXX_SUPPORTS_FLEXIBLE_ARRAYS
-  PPL_ASSERT(y_size > 0);
   if (y_size > 0) {
     vec_[0] = y.vec_[0];
     bump_size();




More information about the PPL-devel mailing list