Skip to content

ArrayTile Equality Bug#2991

Merged
pomadchin merged 2 commits intolocationtech:masterfrom
jbouffard:fix/arraytile-equality
Jun 16, 2019
Merged

ArrayTile Equality Bug#2991
pomadchin merged 2 commits intolocationtech:masterfrom
jbouffard:fix/arraytile-equality

Conversation

@jbouffard
Copy link
Copy Markdown
Contributor

@jbouffard jbouffard commented Jun 14, 2019

Overview

This fixes an equality bug in ArrayTile where cols, rows, and cellType of the two tiles were not taken into account. They now are.

Checklist

  • docs/CHANGELOG.rst updated, if necessary
  • Unit tests added for bug-fix or new feature

Closes #2869

@jbouffard jbouffard force-pushed the fix/arraytile-equality branch from 866a95e to 35a4eca Compare June 14, 2019 13:33
Copy link
Copy Markdown
Member

@pomadchin pomadchin left a comment

Choose a reason for hiding this comment

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

Wondering, why the The CostdistanceSpec failed. Have you tried to run all tests locally?

@jbouffard
Copy link
Copy Markdown
Contributor Author

@pomadchin It looks like it's failing for me locally too... I'm not sure what's up with that.

Comment thread raster/src/main/scala/geotrellis/raster/ArrayTile.scala Outdated
Signed-off-by: Jacob Bouffard <jbouffard@azavea.com>

Updated the CHANGELOG

Signed-off-by: Jacob Bouffard <jbouffard@azavea.com>

Added Nan check to equality

Signed-off-by: Jacob Bouffard <jbouffard@azavea.com>
@jbouffard jbouffard force-pushed the fix/arraytile-equality branch from 35a4eca to 09472e5 Compare June 14, 2019 16:13
@pomadchin pomadchin merged commit 3f72d4b into locationtech:master Jun 16, 2019
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.

ArrayTile equality is invalid

2 participants