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:
Clemens Zeidler 2011-06-20 07:12:52 +00:00
parent 9d8f95fcee
commit c9ef74ccd2
1 changed files with 1 additions and 1 deletions

View File

@ -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];
}