FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

The compare function should return false, for equal elements. by willyborn · Pull Request #3141 · arrayfire/arrayfire · GitHub

Repository navigation

The compare function should return false, for equal elements. - #3141

Merged
9prady9 merged 2 commits into
arrayfire:masterfrom
willyborn:sift-compare
Jun 23, 2021
Merged

9prady9 merged 2 commits into
arrayfire:masterfrom
willyborn:sift-compare

Conversation

Copy link
Copy Markdown
Contributor

When compiling in debug mode, the MSVC compiler returns an non-compliance error.
The provided method should simulate the '<' function, not '<='.

Description

bug fix, could result in increase sort time or even incorrect results.

Changes to Users

None

Checklist

  • Rebased on latest master
  • Code compiles
  • Tests pass
  • Functions added to unified API
  • Functions documented

9prady9 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

9prady9 added this to the 3.8.1 milestone Jun 21, 2021

9prady9 commented Jun 22, 2021

Copy link
Copy Markdown
Member

@willyborn there is a merge commit in the PR commit history, please remove it.

Copy link
Copy Markdown
Contributor Author

I found an extra one in topk

9prady9 merged commit 77181f1 into arrayfire:master Jun 23, 2021
9prady9 pushed a commit to 9prady9/arrayfire that referenced this pull request Aug 2, 2021
…ire#3141)

* The compare function should return false, for equal elements.

When compiling in debug mode, the MSVC compiler returns an non-compliance error.

* compare functions should always return false when equal

(cherry picked from commit 77181f1)
syurkevi pushed a commit that referenced this pull request Dec 28, 2021
* The compare function should return false, for equal elements.

When compiling in debug mode, the MSVC compiler returns an non-compliance error.

* compare functions should always return false when equal

(cherry picked from commit 77181f1)
willyborn deleted the sift-compare branch September 29, 2022 13:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL