#1035 Replaced auto in the example/test code to understand what is going on.

This commit is contained in:
Jacob Støren
2016-12-14 09:38:51 +01:00
parent c555f77a71
commit cd6ee6466b
2 changed files with 13 additions and 10 deletions

View File

@@ -29,8 +29,8 @@ TEST(opm_flowdiagnostics_test, basic_construction)
// Solve for time of flight.
std::vector<Opm::FlowDiagnostics::CellSet> start;
auto sol = fdTool.computeInjectionDiagnostics(start);
const auto& tof = sol.fd.timeOfFlight();
Opm::FlowDiagnostics::Toolbox::Forward sol = fdTool.computeInjectionDiagnostics(start);
const std::vector<double>& tof = sol.fd.timeOfFlight();
// Write it to standard out.
std::cout.precision(16);