mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-25 07:07:42 -05:00
Minor fix: do not read tracer heads unless compute_tracer is true.
This commit is contained in:
1 parent
b82a41df18
commit
f0ba716b3a
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user