Permalink
Browse files

accumulator: initialize m_obs member in scriptinterface.

  • Loading branch information...
KaiSzuttor committed Dec 6, 2017
1 parent 29189a1 commit 98080ee3a22b3f4c83718aab174d4171c7e51642
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/script_interface/accumulators/Accumulator.hpp
@@ -43,6 +43,7 @@ class Accumulator : public AutoParameters {
// We are expecting a ScriptInterface::Observables::Observable here,
// throw if not. That means the assigned object had the wrong type.
if (obs_ptr) {
m_obs = obs_ptr;
m_accumulator->m_obs = obs_ptr->observable();
m_accumulator->initialize();
}

0 comments on commit 98080ee

Please sign in to comment.