Skip to content

Commit

Permalink
Fix output operator
Browse files Browse the repository at this point in the history
  • Loading branch information
ngthanhtrung23 committed May 1, 2024
1 parent 57ced24 commit 750c41a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Geometry/basic.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ struct Line {
return a*p.x + b*p.y + c;
}
};
ostream& operator >> (ostream& cout, const Line& l) {
ostream& operator << (ostream& cout, const Line& l) {
cout << l.a << "*x + " << l.b << "*y + " << l.c;
return cout;
}
Expand Down

0 comments on commit 750c41a

Please sign in to comment.