summaryrefslogtreecommitdiff
path: root/gmpxx.h
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2003-08-17 01:04:48 +0200
committerKevin Ryde <user42@zip.com.au>2003-08-17 01:04:48 +0200
commit9d17ab7dc536424b09c8bc6ab804cbe0419bd089 (patch)
treeda0821cd4cbea8274616d8f540637ae3e436534c /gmpxx.h
parent1872c1d79366615983c418fb3218f61f21d16981 (diff)
downloadgmp-9d17ab7dc536424b09c8bc6ab804cbe0419bd089.tar.gz
* gmpxx.h: Correction to temp variable type in mpf -> mpfr assignment.
Reported by Derrick Bass.
Diffstat (limited to 'gmpxx.h')
-rw-r--r--gmpxx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmpxx.h b/gmpxx.h
index 3ec9853d4..a64be08e8 100644
--- a/gmpxx.h
+++ b/gmpxx.h
@@ -3428,7 +3428,7 @@ template <class T>
inline void __gmp_set_expr
(mpfr_ptr f, const __gmp_expr<mpf_t, T> &expr)
{
- mpq_class temp(expr);
+ mpf_class temp(expr);
mpfr_set_f(f, temp.get_mpf_t(), __gmpfr_default_rounding_mode);
}