Skip to content

Commit

Permalink
Bugfix: remove assert when net not in model
Browse files Browse the repository at this point in the history
  • Loading branch information
joern274 committed Oct 23, 2024
1 parent 22e28ce commit 78568d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/gui/src/module_model/module_model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -812,8 +812,8 @@ namespace hal
void ModuleModel::updateNetName(u32 id)
{
Q_ASSERT(gNetlist->get_net_by_id(id));
Q_ASSERT(mNetMap.contains(id));

// if net elment not in model loop will reject
for (auto it = mNetMap.lowerBound(id); it != mNetMap.upperBound(id); ++it)
{
ModuleItem* item = it.value();
Expand Down

0 comments on commit 78568d0

Please sign in to comment.