Update all optimized variables. Most off the time it went fine because the initial solution was already optimal. This fixes #7193.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42262 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
9d8f95fcee
commit
c9ef74ccd2
|
@ -947,6 +947,6 @@ LayoutOptimizer::_SolveSubProblem(const double* d, int am, double* p)
|
|||
void
|
||||
LayoutOptimizer::_SetResult(const double* x, double* values)
|
||||
{
|
||||
for (int i = 1; i < fVariableCount; i++)
|
||||
for (int i = 0; i < fVariableCount; i++)
|
||||
values[i] = x[i];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue