changes to class detection
This commit is contained in:
@@ -25,13 +25,13 @@ void VelSolver::basicSolveEquations()
|
||||
void VelSolver::handleSingularMatrix()
|
||||
{
|
||||
std::string str = typeid(*matrixSolver).name();
|
||||
if (str == "class GESpMatParPvMarkoFast") {
|
||||
if (str.find("GESpMatParPvMarkoFast") >= 0) {
|
||||
matrixSolver = CREATE<GESpMatParPvPrecise>::With();
|
||||
this->solveEquations();
|
||||
}
|
||||
else {
|
||||
str = typeid(*matrixSolver).name();
|
||||
if (str == "class GESpMatParPvPrecise") {
|
||||
if (str.find("GESpMatParPvPrecise") >= 0) {
|
||||
this->logSingularMatrixMessage();
|
||||
matrixSolver = this->matrixSolverClassNew();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user