Skip to content

Commit

Permalink
Integer parameters should not be formatted using precision specifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
rocallahan committed Jun 26, 2024
1 parent bfcee23 commit 517d79f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/mockturtle/algorithms/lut_mapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ class lut_map_impl
if ( ps.required_delay < delay )
{
if ( !ps.area_oriented_mapping && iteration == 1 )
std::cerr << fmt::format( "[i] MAP WARNING: cannot meet the target required time of {:.2f}", ps.required_delay ) << std::endl;
std::cerr << fmt::format( "[i] MAP WARNING: cannot meet the target required time of {}", ps.required_delay ) << std::endl;
}
else
{
Expand Down Expand Up @@ -1122,7 +1122,7 @@ class lut_map_impl
if ( ps.required_delay < delay )
{
if ( !ps.area_oriented_mapping && iteration == 1 )
std::cerr << fmt::format( "[i] MAP WARNING: cannot meet the target required time of {:.2f}", ps.required_delay ) << std::endl;
std::cerr << fmt::format( "[i] MAP WARNING: cannot meet the target required time of {}", ps.required_delay ) << std::endl;
}
else
{
Expand Down

0 comments on commit 517d79f

Please sign in to comment.