Skip to content

Commit

Permalink
Fixes in struct library
Browse files Browse the repository at this point in the history
  • Loading branch information
aletempiac committed Oct 4, 2023
1 parent c9450d6 commit 2fe683d
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 72 deletions.
2 changes: 1 addition & 1 deletion include/mockturtle/utils/standard_cell.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ inline std::vector<standard_cell> get_standard_cells( std::vector<gate> const& g
else
{
name_to_index[g.name] = cells.size();
cells.emplace_back( standard_cell{ g.name, cells.size(), { g }, g.area } );
cells.emplace_back( standard_cell{ g.name, static_cast<uint32_t>( cells.size() ), { g }, g.area } );
}
}

Expand Down
Loading

0 comments on commit 2fe683d

Please sign in to comment.