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

🐛 Fixed a nullptr dereference bug #287

Merged
merged 2 commits into from
Sep 20, 2023
Merged

🐛 Fixed a nullptr dereference bug #287

merged 2 commits into from
Sep 20, 2023

Commits on Sep 19, 2023

  1. 🐛 The code modifications in this commit remediate a null pointer dere…

    …ference bug within the fiction library. The layout is now checked to ensure that it implements the clocking scheme before asserting that it is an obstruction layout in the `improve_gate_location` function, guarding against null reference errors.
    
    This change enhances code safety, preventing potential runtime issues that could arise from null pointer dereferencing. The changes also include an addition in reporting total runtime for post layout optimization.
    
    Additional minor code refactoring was performed for better readability and to explicitly state the layout type requirements in the template typename declarations.
    
    Lastly, code to handle optional return of stats from post layout optmization function has been added.
    marcelwa committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    dcfdaaa View commit details
    Browse the repository at this point in the history
  2. 🚨 Fixed compiler error

    marcelwa committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    c0a0880 View commit details
    Browse the repository at this point in the history