Repair a verified behavior in verilog-to-routing/vtr-verilog-to-routing.
Repair a verified behavior in verilog-to-routing/vtr-verilog-to-routing.: a task in OriGent-SFT-Data (Harbor dataset). The generic vtr::median utility in LibVTR's math API computes the wrong result for even-sized containers of double values. Its iterator range is intended to be the half-open range…
The task
The generic `vtr::median` utility in LibVTR's math API computes the wrong result for even-sized containers of `double` values. Its iterator range is intended to be the half-open range `[first, last)`, but the even-element calculation uses the wrong pair of middle elements and, for a two-element range, dereferences…
Part of henryen/OriGent-SFT-Data.