← 返回首页
Loosen indexing assertions for af_assign_gen by umar456 · Pull Request #3514 · arrayfire/arrayfire · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Loosen indexing assertions for af_assign_gen#3514

Merged
christophe-murphy merged 2 commits into
arrayfire:masterfrom
umar456:indexing_assertions
Oct 1, 2024
Merged

Loosen indexing assertions for af_assign_gen#3514
christophe-murphy merged 2 commits into
arrayfire:masterfrom
umar456:indexing_assertions

Conversation

Copy link
Copy Markdown
Member

umar456 commented Oct 17, 2023

This PR removes a set of assertions in af_assign_gen. The assertions were incorrectly used the ndims parameter which is the number of indexes that are passed in against the dimension of the lhs of the assertion.

Description

  • Relaxes some indexing assertions

Changes to Users

N/A

Checklist

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

umar456 force-pushed the indexing_assertions branch from e3ffadf to 0ee8203 Compare October 18, 2023 15:02
christophe-murphy merged commit a857657 into arrayfire:master Oct 1, 2024
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Footer

© 2026 GitHub, Inc.