Skip to content
Snippets Groups Projects
Commit aef47712 authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Merge branch 'fix/adolc-trace_off' into 'master'

ADOL-C: do not put the rank into trace_off()

See merge request !70
parents 0878ac21 b27a29b4
No related branches found
No related tags found
1 merge request!70ADOL-C: do not put the rank into trace_off()
Pipeline #50525 passed
......@@ -76,13 +76,13 @@ energy(const LocalView& localView,
try {
energy = localEnergy_->energy(localView,localAConfiguration);
} catch (Dune::Exception &e) {
trace_off(rank);
trace_off();
throw e;
}
energy >>= pureEnergy;
trace_off(rank);
trace_off();
return pureEnergy;
}
......@@ -227,7 +227,7 @@ energy(const Entity& element,
energy >>= pureEnergy;
trace_off(rank);
trace_off();
return pureEnergy;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment