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

Is this ; intended? #135

Open
ichumuh opened this issue Nov 4, 2022 · 1 comment
Open

Is this ; intended? #135

ichumuh opened this issue Nov 4, 2022 · 1 comment

Comments

@ichumuh
Copy link

ichumuh commented Nov 4, 2022

Hi,
I stumbled across this line:

for (i = jc[j]; i < jc[j+1]; i++);

Could it be that this ; at the end of the for loop was not intended?

@HenryHwong
Copy link

I found this problem, too.
Further more, a lot of places in class SparseMatrix got a code style like
for(...); statement; (15 counts)
or
for(...) {}; statement; (2 counts)
I guess this may not be intended.

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