Skip to content

Commit 746118d

Browse files
committed
Error msg change, like the previous suggested change.
1 parent d56f9fc commit 746118d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

SU2_CFD/src/solvers/CHeatSolver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ void CHeatSolver::LoadRestart(CGeometry **geometry, CSolver ***solver, CConfig *
266266
/*--- Detect a wrong solution file ---*/
267267

268268
if (counter != nPointDomain) {
269-
SU2_MPI::Error(string("The solution file ") + restart_filename + string(" doesn't match with the mesh file!\n") +
270-
string("It could be empty lines at the end of the file."), CURRENT_FUNCTION);
269+
SU2_MPI::Error(string("The solution file ") + restart_filename + string(" does not match with the mesh file!\n") +
270+
string("This can be caused by empty lines at the end of the file."), CURRENT_FUNCTION);
271271
}
272272

273273
/*--- Communicate the loaded solution on the fine grid before we transfer

SU2_CFD/src/solvers/CTurbSolver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ void CTurbSolver::LoadRestart(CGeometry** geometry, CSolver*** solver, CConfig*
261261
/*--- Detect a wrong solution file ---*/
262262

263263
if (counter != nPointDomain) {
264-
SU2_MPI::Error(string("The solution file ") + restart_filename + string(" doesn't match with the mesh file!\n") +
265-
string("It could be empty lines at the end of the file."),
264+
SU2_MPI::Error(string("The solution file ") + restart_filename + string(" does not match with the mesh file!\n") +
265+
string("This can be caused by empty lines at the end of the file."),
266266
CURRENT_FUNCTION);
267267
}
268268

0 commit comments

Comments
 (0)