Skip to content

Closes #3886 refactor idx reduction msg - #3889

Merged
ajpotts merged 2 commits into
Bears-R-Us:masterfrom
ajpotts:3886_refactor_idxReductionMsg
Nov 20, 2024
Merged

ajpotts merged 2 commits into
Bears-R-Us:masterfrom
ajpotts:3886_refactor_idxReductionMsg

Conversation

@ajpotts

@ajpotts ajpotts commented Nov 8, 2024

Copy link
Copy Markdown
Contributor

This PR adds new argmin and argmax chapel functions to replace the idxReductionMsg and remove the associated @arkouda.registerND annotation.

Closes #3886 refactor idx reduction msg

@ajpotts
ajpotts force-pushed the 3886_refactor_idxReductionMsg branch 2 times, most recently from 19fb1a2 to 4ab8a9c Compare November 8, 2024 22:57
@ajpotts
ajpotts marked this pull request as ready for review November 8, 2024 22:57
Comment thread tests/pdarrayclass_test.py Resolved
Comment thread arkouda/pdarrayclass.py Resolved
Comment thread arkouda/pdarrayclass.py Resolved
Comment thread src/ReductionMsg.chpl Resolved

@stress-tess stress-tess left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

looks great! thanks amanda

@ajpotts
ajpotts force-pushed the 3886_refactor_idxReductionMsg branch 3 times, most recently from 9392c73 to 50fa6f2 Compare November 15, 2024 18:24

@drculhane drculhane left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I find the multiple cases of argmax and argmin a bit confusing, and also the runtime creation of functions. But this passes all the tests, and I tried to break it manually, and couldn't. Must be good :)

@ajpotts
ajpotts force-pushed the 3886_refactor_idxReductionMsg branch from 51a7e06 to d787291 Compare November 20, 2024 16:51
@ajpotts
ajpotts added this pull request to the merge queue Nov 20, 2024
Merged via the queue into Bears-R-Us:master with commit b456d3e Nov 20, 2024
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.

refactor idxReductionMsg

4 participants