Bytecode: fix typo

trustregion
Sébastien Villemot 2022-03-16 12:57:42 +01:00
parent 8a6ea14402
commit 2d73ae2971
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 5 additions and 5 deletions

View File

@ -2554,7 +2554,7 @@ dynSparseMatrix::Solve_Matlab_GMRES(mxArray *A_m, mxArray *b_m, int Size, double
mxArray *lhs0[2]; mxArray *lhs0[2];
mxArray *rhs0[2] = { A_m, Setup }; mxArray *rhs0[2] = { A_m, Setup };
if (mexCallMATLAB(2, lhs0, 2, rhs0, "ilu")) if (mexCallMATLAB(2, lhs0, 2, rhs0, "ilu"))
throw FatalExceptionHandling("In GMRES, the incomplet LU decomposition (ilu) ahs failed."); throw FatalExceptionHandling("In GMRES, the incomplete LU decomposition (ilu) has failed.");
mxArray *L1 = lhs0[0]; mxArray *L1 = lhs0[0];
mxArray *U1 = lhs0[1]; mxArray *U1 = lhs0[1];
/*[za,flag1] = gmres(g1a,b,Blck_size,1e-6,Blck_size*periods,L1,U1);*/ /*[za,flag1] = gmres(g1a,b,Blck_size,1e-6,Blck_size*periods,L1,U1);*/
@ -2652,7 +2652,7 @@ dynSparseMatrix::Solve_Matlab_BiCGStab(mxArray *A_m, mxArray *b_m, int Size, dou
mxArray *lhs0[2]; mxArray *lhs0[2];
mxArray *rhs0[2] = { A_m, Setup }; mxArray *rhs0[2] = { A_m, Setup };
if (mexCallMATLAB(2, lhs0, 2, rhs0, "ilu")) if (mexCallMATLAB(2, lhs0, 2, rhs0, "ilu"))
throw FatalExceptionHandling(" In BiCGStab, the incomplet LU decomposition (ilu) ahs failed.\n"); throw FatalExceptionHandling(" In BiCGStab, the incomplete LU decomposition (ilu) has failed.\n");
L1 = lhs0[0]; L1 = lhs0[0];
U1 = lhs0[1]; U1 = lhs0[1];
mxDestroyArray(Setup); mxDestroyArray(Setup);
@ -3973,12 +3973,12 @@ dynSparseMatrix::preconditioner_print_out(string s, int preconditioner, bool ss)
break; break;
case 1: case 1:
if (ss) if (ss)
tmp.append("incomplet lutp on static jacobian"); tmp.append("incomplete lutp on static jacobian");
else else
tmp.append("incomplet lu0 on dynamic jacobian"); tmp.append("incomplete lu0 on dynamic jacobian");
break; break;
case 2: case 2:
tmp.append("incomplet lutp on dynamic jacobian"); tmp.append("incomplete lutp on dynamic jacobian");
break; break;
case 3: case 3:
tmp.append("lu on static jacobian"); tmp.append("lu on static jacobian");