mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-01 21:39:09 -06:00
Minor fix: do not read tracer heads unless compute_tracer is true.
This commit is contained in:
parent
b82a41df18
commit
f0ba716b3a
@ -123,7 +123,7 @@ main(int argc, char** argv)
|
||||
|
||||
const bool compute_tracer = param.getDefault("compute_tracer", false);
|
||||
Opm::SparseTable<int> tracerheads;
|
||||
{
|
||||
if (compute_tracer) {
|
||||
std::ifstream tr_stream(param.get<std::string>("tracerheads_filename").c_str());
|
||||
int num_rows;
|
||||
tr_stream >> num_rows;
|
||||
|
Loading…
Reference in New Issue
Block a user