diff options
Diffstat (limited to 'sccomp/source/solver/SwarmSolver.cxx')
-rw-r--r-- | sccomp/source/solver/SwarmSolver.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sccomp/source/solver/SwarmSolver.cxx b/sccomp/source/solver/SwarmSolver.cxx index c15745cf7eee..f7961b66d053 100644 --- a/sccomp/source/solver/SwarmSolver.cxx +++ b/sccomp/source/solver/SwarmSolver.cxx @@ -501,6 +501,8 @@ void SAL_CALL SwarmSolver::solve() maStatus.clear(); mbSuccess = false; + if (!maVariables.getLength()) + return; maBounds.resize(maVariables.getLength()); |