Opened 7 years ago

Closed 7 years ago

#55735 closed defect (fixed)

gr-ofdm @20170823: error: no matching function for call to 'max'

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gr-ofdm

Description

Build failure on Sierra buildbot worker:

/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-ofdm/gr-ofdm/work/gr-ofdm-8c0f81c38a67439df9f2d7b03d5cf31cb4e8d859/lib/allocation_src_impl.cc:439:27: error: no matching function for call to 'max'
        d_amplitude_abs = std::max(float(0.01), sqrt(d_amplitude_abs/float(d_resource_blocks.number)));
                          ^~~~~~~~

Change History (1)

comment:1 Changed 7 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

In 89d8efc64766d8f147e995c2547995f2e2e1104c/macports-ports:

gr-ofdm: use same type for computations

Closes: #55735

Note: See TracTickets for help on using tickets.