Minor fix: do not read tracer heads unless compute_tracer is true.
This commit is contained in:
parent
8b6faffe00
commit
fd4ac88334
@ -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