mirror of https://github.com/CGAL/cgal
fixed bad io bug reading constant polynomials at end of file
This commit is contained in:
parent
013ce68ed5
commit
e19a67e2ee
|
|
@ -338,7 +338,7 @@ public:
|
||||||
NT coef;
|
NT coef;
|
||||||
// eat
|
// eat
|
||||||
in >> coef;
|
in >> coef;
|
||||||
if (!in.good()) return;
|
if (in.fail()) return;
|
||||||
unsigned int pow;
|
unsigned int pow;
|
||||||
char p= in.peek();
|
char p= in.peek();
|
||||||
if (in.peek() =='*') {
|
if (in.peek() =='*') {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue