Skip to content
Snippets Groups Projects
Commit 67fdb577 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

Add spaces around operators.

parent 67a277c6
No related branches found
No related tags found
No related merge requests found
......@@ -30,9 +30,9 @@ NewtonRaphson::NewtonRaphson()
template<class F_RESIDUAL, class F_DX, class T_VALUE>
bool NewtonRaphson::solve(F_RESIDUAL &f_residual, F_DX &f_dx, const T_VALUE &x0, T_VALUE &x_new)
{
const bool checkAbsResidualError = (_r_abs_tol<std::numeric_limits<double>::max());
const bool checkRelResidualError = (_r_rel_tol<std::numeric_limits<double>::max());
const bool checkRelDxError = (_dx_rel_tol>.0);
const bool checkAbsResidualError = (_r_abs_tol < std::numeric_limits<double>::max());
const bool checkRelResidualError = (_r_rel_tol < std::numeric_limits<double>::max());
const bool checkRelDxError = (_dx_rel_tol > .0);
const bool needXNorm = (checkRelResidualError || checkRelDxError);
INFO("------------------------------------------------------------------");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment