diff --git a/include/utils/point.hpp b/include/utils/point.hpp index 4c208614..3a21720a 100644 --- a/include/utils/point.hpp +++ b/include/utils/point.hpp @@ -123,7 +123,7 @@ inline std::basic_istream& operator >> (std::basic_istream& is, basic_vect is >> op; is >> v.y; - if(op != C(',') && op != C('x') && op != C('|') || is.bad()) + if((op != C(',') && op != C('x') && op != C('|')) || is.bad()) { throw std::runtime_error("Not able to convert from stream to vector!"); }