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

Question about code #2

Open
noemi-mauro opened this issue Nov 7, 2018 · 1 comment
Open

Question about code #2

noemi-mauro opened this issue Nov 7, 2018 · 1 comment

Comments

@noemi-mauro
Copy link

Hello,
I was looking at the code and I can't understand why you modify the value and not the index of tmp_out in this line:
_out = tmp_out[s] - 1
Shouldn't be
_out = tmp_out[s - 1]
?

@xiaxin1998
Copy link

@noemi-mauro Hi, do you understand it now? If yes, could you please explain it? Thanks very much!

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