Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Here is a bug which should be if(i<=0) instead of if(x<=0) #109

Open
VCode28629 opened this issue Jul 15, 2022 · 1 comment
Open

Here is a bug which should be if(i<=0) instead of if(x<=0) #109

VCode28629 opened this issue Jul 15, 2022 · 1 comment

Comments

@VCode28629
Copy link

t& operator[](const int i) { if (x<=0) return x; else return y; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@VCode28629 and others