Merge remote-tracking branch 'refs/remotes/origin/Solvers-add_osqp-danston' into Solvers-add_osqp-danston

This commit is contained in:
Dmitry Anisimov 2021-06-11 11:47:28 +02:00
commit a34d89861a
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ public:
// Create solution.
const c_float *x = work->solution->x;
for(c_int i=0; i<static_cast<c_int>(n); ++i)
for(std::size_t i=0; i<n; ++i)
{
const FT value{x[i]};
*(++solution) = value;