[PPL-devel] [GIT] ppl/ppl(bounded_arithmetic): Added missing policy.

Abramo Bagnara abramo.bagnara at gmail.com
Thu May 14 12:14:34 CEST 2009


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

Author: Abramo Bagnara <abramo.bagnara at gmail.com>
Date:   Thu May 14 10:11:31 2009 +0200

Added missing policy.

---

 tests/Box/frombox1.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/Box/frombox1.cc b/tests/Box/frombox1.cc
index 217b86e..8379d19 100644
--- a/tests/Box/frombox1.cc
+++ b/tests/Box/frombox1.cc
@@ -79,7 +79,7 @@ test04() {
 bool
 test05() {
   const int DIM = 10;
-  typedef Checked_Number<mpq_class> Q;
+  typedef Checked_Number<mpq_class, Checked_Number_Transparent_Policy<mpq_class> > Q;
   Rational_Box src(DIM, UNIVERSE);
   Q k;
   Q a;




More information about the PPL-devel mailing list