Fix a bug with SolverError.
Merge pull request #9 from bchretien/master

Fix a bug with SolverError