diff options
Diffstat (limited to 'cxx/ismpf.cc')
-rw-r--r-- | cxx/ismpf.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cxx/ismpf.cc b/cxx/ismpf.cc index bfe4dc8b9..520d4c3e2 100644 --- a/cxx/ismpf.cc +++ b/cxx/ismpf.cc @@ -120,7 +120,7 @@ operator>> (istream &i, mpf_ptr f) if (i.good()) // last character read was non-numeric i.putback(c); else if (i.eof() && ok) // stopped just before eof - i.clear(); + i.clear(ios::eofbit); if (ok) ASSERT_NOCARRY (mpf_set_str(f, s.c_str(), base)); // extract the number |