You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mockturtle::tech_library contains member variables super_utils and struct_library which both contain a reference to _gates. When mockturtle::tech_library is copied, these references will keep pointing to the original location rather than to the new copied location.
The short-term solution is to disable the default copy constructor. Longer-term it would be great to properly implement a copy constructor.
(This is not urgent as we've worked around it).
The text was updated successfully, but these errors were encountered:
Thank you for reporting! For now, I opted for the short-term solution. If you further suggestions or changes, please feel free to submit a PR at any time.
mockturtle::tech_library
contains member variablessuper_utils
andstruct_library
which both contain a reference to_gates
. Whenmockturtle::tech_library
is copied, these references will keep pointing to the original location rather than to the new copied location.The short-term solution is to disable the default copy constructor. Longer-term it would be great to properly implement a copy constructor.
(This is not urgent as we've worked around it).
The text was updated successfully, but these errors were encountered: