Skip to content

Commit 33b9872

Browse files
postSolve arguments consistent with amrex
1 parent 357fd2d commit 33b9872

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ExampleCodes/EB/NodalPoisson/main.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,7 @@ int main (int argc, char* argv[])
165165
amrex::GMRESMLMG gmsolve(mlmg);
166166
gmsolve.setVerbose(verbose);
167167
gmsolve.solve(phi, q, tol_rel, tol_abs);
168-
amrex::Vector<amrex::MultiFab> vmf;
169-
vmf.emplace_back(phi, amrex::make_alias, 0, phi.nComp());
170-
linop.postSolve(vmf);
168+
linop.postSolve({&phi});
171169
} else {
172170
mlmg.solve({&phi}, {&q}, tol_rel, tol_abs);
173171
}

0 commit comments

Comments
 (0)