Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.

Conversation

@sirahd
Copy link
Collaborator

@sirahd sirahd commented Sep 24, 2019

  • fix SArray == doesn't work for tc.Image types #2042 to allow comparing SArray with Image type
  • Currently, implementation of the equality operator mirrors the python implementation where two images are equal only when every property (m_height, m_width, ..., m_image_data) are identical, but we might want to allow comparing two identical images with different lossless types (png vs. RAW) by decoding to RAW type

@guihao-liang
Copy link
Collaborator

Great job! How about adding a unittest for your change?

@sirahd sirahd merged commit a1b3b2b into apple:master Sep 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SArray == doesn't work for tc.Image types

3 participants