From 2d73ae297132c7dacf5195b81de031d4c12b9c69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Wed, 16 Mar 2022 12:57:42 +0100
Subject: [PATCH] Bytecode: fix typo

---
 mex/sources/bytecode/SparseMatrix.cc | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/mex/sources/bytecode/SparseMatrix.cc b/mex/sources/bytecode/SparseMatrix.cc
index 625eac9bfb..305bfcab67 100644
--- a/mex/sources/bytecode/SparseMatrix.cc
+++ b/mex/sources/bytecode/SparseMatrix.cc
@@ -2554,7 +2554,7 @@ dynSparseMatrix::Solve_Matlab_GMRES(mxArray *A_m, mxArray *b_m, int Size, double
   mxArray *lhs0[2];
   mxArray *rhs0[2] = { A_m, Setup };
   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 *U1 = lhs0[1];
   /*[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 *rhs0[2] = { A_m, Setup };
       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];
       U1 = lhs0[1];
       mxDestroyArray(Setup);
@@ -3973,12 +3973,12 @@ dynSparseMatrix::preconditioner_print_out(string s, int preconditioner, bool ss)
       break;
     case 1:
       if (ss)
-        tmp.append("incomplet lutp on static jacobian");
+        tmp.append("incomplete lutp on static jacobian");
       else
-        tmp.append("incomplet lu0 on dynamic jacobian");
+        tmp.append("incomplete lu0 on dynamic jacobian");
       break;
     case 2:
-      tmp.append("incomplet lutp on dynamic jacobian");
+      tmp.append("incomplete lutp on dynamic jacobian");
       break;
     case 3:
       tmp.append("lu on static jacobian");
-- 
GitLab