re-indented solver_direct_mean.cpp