Skip to content
Snippets Groups Projects
Commit 8018dc15 authored by Dmitri Naumov's avatar Dmitri Naumov Committed by GitHub
Browse files

Merge pull request #1853 from wenqing/fixing_test

Fix two parallel tests
parents 383da63c 2ab84e99
No related branches found
No related tags found
No related merge requests found
......@@ -188,7 +188,6 @@ bool NonlinearSolver<NonlinearSolverTag::Newton>::solve(
// TODO be more efficient
// init _minus_delta_x to the right size and 0.0
LinAlg::copy(x, minus_delta_x);
minus_delta_x.setZero();
_convergence_criterion->preFirstIteration();
......@@ -208,6 +207,8 @@ bool NonlinearSolver<NonlinearSolverTag::Newton>::solve(
sys.getJacobian(J);
INFO("[time] Assembly took %g s.", time_assembly.elapsed());
minus_delta_x.setZero();
BaseLib::RunTime time_dirichlet;
time_dirichlet.start();
sys.applyKnownSolutionsNewton(J, res, minus_delta_x);
......
Subproject commit cf0cae279bc383ee612c368972e8fa9e1c72722b
Subproject commit e8530251e2bfeed88f34528ee49db55d6ceb68ee
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