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

(very minnor) in session 0 : code updated, but not the comment #64

Open
vichug opened this issue Mar 20, 2017 · 1 comment
Open

(very minnor) in session 0 : code updated, but not the comment #64

vichug opened this issue Mar 20, 2017 · 1 comment

Comments

@vichug
Copy link
Contributor

vichug commented Mar 20, 2017

..a the 'Image manipulation > Croping images' paragraph, in the def of the imcrop_tosquare function : the comment says

The first branch says, if the rows of img are greater than the columns, then set the variable extra to their difference and divide by 2.

...whereas the variable extra is in fact not divided by 2 right away in the code. It's minnor but for a beginner (such as myself) it might be very brain freezing for a moment.
That's all :)

@pkmital
Copy link
Owner

pkmital commented Apr 8, 2017

Ah good catch!

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