-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 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.
- Loading branch information
Showing
4 changed files
with
106 additions
and
92 deletions.
There are no files selected for viewing
This file contains 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
Oops, something went wrong.