Skip to content

Commit 2eaab1f

Browse files
shakedregevactions-user
authored andcommitted
Apply pre-commmit fixes
1 parent f5e93d1 commit 2eaab1f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

tests/functionality/testKlu.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ int runTest(int argc, char* argv[], std::string& solver_name)
167167
{
168168
helper.printIrSummary(&FGMRES);
169169
}
170-
error_sum += helper.checkResult(10*ReSolve::constants::MACHINE_EPSILON);
170+
error_sum += helper.checkResult(10 * ReSolve::constants::MACHINE_EPSILON);
171171

172172
// Load the second matrix
173173
std::ifstream mat2(matrix_file_name_2);
@@ -213,7 +213,7 @@ int runTest(int argc, char* argv[], std::string& solver_name)
213213
{
214214
helper.printIrSummary(&FGMRES);
215215
}
216-
error_sum += helper.checkResult(10*ReSolve::constants::MACHINE_EPSILON);
216+
error_sum += helper.checkResult(10 * ReSolve::constants::MACHINE_EPSILON);
217217

218218
isTestPass(error_sum, test_name);
219219

tests/functionality/testRefactor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ int runTest(int argc, char* argv[], std::string& solver_name)
228228
{
229229
helper.printIrSummary(&FGMRES);
230230
}
231-
error_sum += helper.checkResult(10*ReSolve::constants::MACHINE_EPSILON);
231+
error_sum += helper.checkResult(10 * ReSolve::constants::MACHINE_EPSILON);
232232

233233
// Load the second matrix
234234
std::ifstream mat2(matrix_file_name_2);
@@ -281,7 +281,7 @@ int runTest(int argc, char* argv[], std::string& solver_name)
281281
{
282282
helper.printIrSummary(&FGMRES);
283283
}
284-
error_sum += helper.checkResult(10*ReSolve::constants::MACHINE_EPSILON);
284+
error_sum += helper.checkResult(10 * ReSolve::constants::MACHINE_EPSILON);
285285

286286
isTestPass(error_sum, test_name);
287287

tests/functionality/testSysRefactor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ static int runTest(int argc, char* argv[], std::string backend)
205205
// Print result summary and check solution
206206
std::cout << "\nResults (first matrix): \n\n";
207207
helper.printSummary();
208-
error_sum += helper.checkResult(10*ReSolve::constants::MACHINE_EPSILON);
208+
error_sum += helper.checkResult(10 * ReSolve::constants::MACHINE_EPSILON);
209209

210210
// Verify norm of scaled residuals calculation in SystemSolver class
211211
real_type nsr_system = solver.getNormOfScaledResiduals(&vec_rhs, &vec_x);
@@ -260,7 +260,7 @@ static int runTest(int argc, char* argv[], std::string backend)
260260
std::cout << "\nResults (second matrix): \n\n";
261261
helper.printSummary();
262262
helper.printIrSummary(&(solver.getIterativeSolver()));
263-
error_sum += helper.checkResult(10*ReSolve::constants::MACHINE_EPSILON);
263+
error_sum += helper.checkResult(10 * ReSolve::constants::MACHINE_EPSILON);
264264

265265
// Verify norm of scaled residuals calculation in SystemSolver class
266266
nsr_system = solver.getNormOfScaledResiduals(&vec_rhs, &vec_x);

0 commit comments

Comments
 (0)