Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MetaSchedule][Minor] Fix Median Number #12273

Merged
merged 1 commit into from
Aug 2, 2022

Conversation

zxybazh
Copy link
Member

@zxybazh zxybazh commented Aug 1, 2022

The previous median number calculation util function used the wrong index which could cause out of bound issue as mentioned in #12199 . This PR fixed this issue.

CC @junrushao1994

@zxybazh zxybazh marked this pull request as ready for review August 1, 2022 23:30
Copy link
Member

@junrushao junrushao left a comment

Choose a reason for hiding this comment

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

Ah I see! it's really an interesting typo...

@junrushao
Copy link
Member

Should fix #12199

@junrushao junrushao merged commit 0261b8e into apache:main Aug 2, 2022
xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 25, 2022
The previous median number calculation util function used the wrong index which could cause out of bound issue as mentioned in apache#12199 . This PR fixed this issue.
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.

None yet

2 participants