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

Fix pixels reverse solution to use width for swapRows #173

Merged
merged 1 commit into from
Mar 30, 2024

Conversation

c7stef
Copy link
Contributor

@c7stef c7stef commented Mar 12, 2024

The proposed solution for reversePic erroneously passes the height of the image to the ancillary function that swaps rows. Updated to use width instead.

The proposed solution for reversePic erroneously passes the height of the
image to the ancillary function that swaps rows. Updated to use width
instead.

Signed-off-by: Cosmin Popa <[email protected]>
Copy link
Member

@teodutu teodutu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good fix, thanks! Now please make the same change to our new repo that we're going to use starting from next year: https://github.com/cs-pub-ro/hardware-software-interface/tree/main/chapters/memory-layout/memory-operations/drills/tasks/pixels

@gabrielmocanu
Copy link
Member

@c7stef Can you do this also on the other repo, please?
I will merge this on this repo.

@gabrielmocanu gabrielmocanu merged commit 5702296 into systems-cs-pub-ro:master Mar 30, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

3 participants