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:
@@ -947,6 +947,6 @@ LayoutOptimizer::_SolveSubProblem(const double* d, int am, double* p)
|
|||||||
void
|
void
|
||||||
LayoutOptimizer::_SetResult(const double* x, double* values)
|
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];
|
values[i] = x[i];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user