mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1035 Replaced auto in the example/test code to understand what is going on.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user