Commit 53fe126e authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

blockmodel: Fix issue with OverlapBlockState

parent a7a220ec
......@@ -56,6 +56,8 @@ typedef mpl::vector2<std::true_type, std::false_type> use_hash_tr;
((candidate_pos,, vmap_t, 0)) \
((bclabel,, vmap_t, 0)) \
((pclabel,, vmap_t, 0)) \
((bfield,, vprop_map_t<std::vector<double>>::type, 0)) \
((Bfield, &, std::vector<double>&, 0)) \
((deg_corr,, bool, 0)) \
((rec_types,, std::vector<int>, 0)) \
((rec,, std::vector<eprop_map_t<double>::type>, 0)) \
......
......@@ -255,6 +255,9 @@ class OverlapBlockState(BlockState):
self.use_hash = self.B > self.max_BE
self.bfield = self.g.new_vp("vector<double>")
self.Bfield = Vector_double()
self._abg = self.bg._get_any()
self._state = libinference.make_overlap_block_state(self, _get_rng())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment