diff options
author | Kevin Ryde <user42@zip.com.au> | 2003-08-17 01:04:48 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2003-08-17 01:04:48 +0200 |
commit | 9d17ab7dc536424b09c8bc6ab804cbe0419bd089 (patch) | |
tree | da0821cd4cbea8274616d8f540637ae3e436534c /gmpxx.h | |
parent | 1872c1d79366615983c418fb3218f61f21d16981 (diff) | |
download | gmp-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |