Fix bug in use of lcp solver.