Skip to content
Snippets Groups Projects

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

1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -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;
}
Loading