Skip to content

Conversation

@AcKoucher
Copy link
Contributor

Replaces #6649.

QuantamHD and others added 7 commits February 6, 2025 00:17
uniform_real has a bug in it where it can sometimes return 1.0
for a range when it's supposed to return [0,1.0). Lesson is
don't use real for this purpose use int distribution.

See the compiler bugs listed on this page for more info.
https://en.cppreference.com/w/cpp/numeric/random/uniform_int_distribution

Signed-off-by: Ethan Mahintorabi <[email protected]>
Signed-off-by: Ethan Mahintorabi <[email protected]>
Signed-off-by: Ethan Mahintorabi <[email protected]>
Signed-off-by: Ethan Mahintorabi <[email protected]>
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@AcKoucher
Copy link
Contributor Author

@QuantamHD I opened this PR due to some merge conflicts that emerged in your PR. I resolved them and ran a Secure-CI whose needed metrics updates are being addressed in #3075 .

Apologies for the delay with these changes, they ended up revealing some nasty bugs that took quite a while to understand.

I hope we can move on with the changes here. The ownership of your updates are preserved.

@QuantamHD
Copy link
Collaborator

❤️

@QuantamHD
Copy link
Collaborator

This is really awesome work. Thanks so much for your time in debugging these complex issues.

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@maliberty maliberty merged commit 5319993 into The-OpenROAD-Project:master Apr 15, 2025
11 checks passed
@AcKoucher AcKoucher deleted the mpl-fix-indexing branch April 15, 2025 01:57
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.

3 participants