Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use correct sentinel value for delay #648

Merged
merged 1 commit into from
Jun 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/mockturtle/algorithms/emap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4707,7 +4707,7 @@ class emap_impl
#pragma region Cuts and matching utils
void compute_cut_data( cut_t& cut, node<Ntk> const& n )
{
cut->delay = std::numeric_limits<float>::max();
cut->delay = std::numeric_limits<uint32_t>::max();
cut->flow = std::numeric_limits<float>::max();
cut->ignore = false;

Expand Down Expand Up @@ -4767,7 +4767,7 @@ class emap_impl

void compute_cut_data_structural( cut_t& cut, node<Ntk> const& n )
{
cut->delay = std::numeric_limits<float>::max();
cut->delay = std::numeric_limits<uint32_t>::max();
cut->flow = std::numeric_limits<float>::max();
cut->ignore = false;

Expand Down
Loading