Skip to content

Commit

Permalink
do not skip whitespace while reading quotient
Browse files Browse the repository at this point in the history
  • Loading branch information
sloriot committed Jan 24, 2024
1 parent 128b169 commit a4d713a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Number_types/include/CGAL/Quotient.h
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,6 @@ operator>>(std::istream& in, Quotient<NT>& r)
NT num,den=1;
in >> num;
if(!in) return in;
std::istream::sentry s(in); // skip whitespace
if(in.peek()!='/'){
if(!in.good()){
in.clear(std::ios_base::eofbit);
Expand Down

0 comments on commit a4d713a

Please sign in to comment.