Allow the use of solver as an alias of ground_solver

This commit is contained in:
Tiago Gomes 2013-01-08 20:47:12 +00:00
parent dbd35a20a2
commit dfd7360291

View File

@ -204,7 +204,7 @@ setHorusFlag (string key, string value)
cerr << "for `" << key << "'" << endl; cerr << "for `" << key << "'" << endl;
returnVal = false; returnVal = false;
} }
} else if (key == "ground_solver") { } else if (key == "ground_solver" || key == "solver") {
if ( value == "ve" || value == "hve") { if ( value == "ve" || value == "hve") {
Globals::groundSolver = GroundSolverType::VE; Globals::groundSolver = GroundSolverType::VE;
} else if (value == "bp") { } else if (value == "bp") {