Skip to content

Commit f25727a

Browse files
committed
fix reduced costs typo in python binding
1 parent ff0dd00 commit f25727a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python_bindings/_core_bindings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ static py::dict solve_once(py::object A,
543543
auto xb = x.request(), yb = y.request(), rcb = rc.request();
544544
std::memcpy(xb.ptr, res->primal_solution, sizeof(double) * n_out);
545545
std::memcpy(yb.ptr, res->dual_solution, sizeof(double) * m_out);
546-
std::memcpy(rcb.ptr, res->reduced_costs, sizeof(double) * n_out);
546+
std::memcpy(rcb.ptr, res->reduced_cost, sizeof(double) * n_out);
547547
}
548548
// build info dict
549549
py::dict info;

0 commit comments

Comments
 (0)