-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix signal name assignment bug in
names_view.hpp
(#638)
* 🐛 Added a conditional check to ensure current_pis vector is not empty before accessing its elements. * ✅ Add test to cover behavior when names_view is constructed from an empty network. * ✅ update test. * 🎨 update ``names_view<Ntk>& operator=`` operator. * ✅ update tests. * 🎨 add ``get_signal_names`` and ``get_output_names``. * 🎨 small fix. * 🎨 Check for self-assignment. * minor fixes --------- Co-authored-by: Siang-Yun (Sonia) Lee <[email protected]>
- Loading branch information
1 parent
93a37e8
commit 8062d03
Showing
2 changed files
with
15 additions
and
14 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
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