--- mpfrxx.h.old	2003-08-17 09:22:32.000000000 +1000
+++ mpfrxx.h	2003-08-17 09:22:43.000000000 +1000
@@ -480,7 +480,7 @@
 inline void __gmp_set_expr
 (mpfr_ptr f, const __gmp_expr<__gmpf_value, T> &expr)
 {
-  mpq_class temp(expr);
+  mpf_class temp(expr);
   mpfr_set_f(f, temp.get_mpf_t(), __gmp_default_rounding_mode);
 }
 
