Skip to content
Snippets Groups Projects
Commit 50c248e1 authored by Adrien Crovato's avatar Adrien Crovato
Browse files

Format

parent cf404acd
No related branches found
No related tags found
No related merge requests found
...@@ -62,7 +62,7 @@ Adjoint::Adjoint(std::shared_ptr<Newton> _sol, std::shared_ptr<tbox::MshDeform> ...@@ -62,7 +62,7 @@ Adjoint::Adjoint(std::shared_ptr<Newton> _sol, std::shared_ptr<tbox::MshDeform>
if (sol->linsol->type() == LSOLTYPE::GMRES_ILUT) if (sol->linsol->type() == LSOLTYPE::GMRES_ILUT)
{ {
// Use the same GMRES, but with a thighter tolerance // Use the same GMRES, but with a thighter tolerance
std::shared_ptr<Gmres> gmres = std::make_shared<Gmres>(*dynamic_cast<Gmres*>(sol->linsol.get())); std::shared_ptr<Gmres> gmres = std::make_shared<Gmres>(*dynamic_cast<Gmres *>(sol->linsol.get()));
gmres->setTolerance(1e-8); gmres->setTolerance(1e-8);
alinsol = gmres; alinsol = gmres;
} }
......
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