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

添字の中の演算子に無駄な括弧が付いてる #130

Closed
kmyk opened this issue Aug 2, 2021 · 0 comments · Fixed by #143
Closed

添字の中の演算子に無駄な括弧が付いてる #130

kmyk opened this issue Aug 2, 2021 · 0 comments · Fixed by #143
Labels
good first issue Good for newcomers

Comments

@kmyk
Copy link
Collaborator

kmyk commented Aug 2, 2021

h_1[(i3 + 1)] でなくて h3[i3 + 1] ってなっててほしい

現状:

          std::min<int64_t>(
              x2[i3][1] + std::max<int64_t>(-h_1[(i3 + 1)] + h_1[(i3 + 2)],
                                            h_1[(i3 + 1)] - h_1[(i3 + 2)]),
              x2[i3][0] + std::max<int64_t>(-h_1[i3] + h_1[(i3 + 2)],
                                            h_1[i3] - h_1[(i3 + 2)]))};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant