Runtime error for copy() of filtered OverlapBlockState()
Bug reports:
Copying of a filtered OverlapBlockState object results in error which asks specifically for sending a bug report. Experienced in Python 2.7 and graph-tool 2.26 as well as the latest docker image on Mac (18-03-26).
Minimal example
import graph_tool.all as gt
gc=gt.collection.data['celegansneural']
s1=gt.minimize_blockmodel_dl(gc,overlap=True)
s1.g.ep.filt=s1.g.new_edge_property('bool',val=True)
s1.g.ep.filt[(0,1)]=False #remove one edge
s1.g.set_edge_filter(s1.g.ep.filt)
s2=s1.copy()
This delivers a runtime error, see the complete message below.
--------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) in () ----> 1 s2=s1.copy() /usr/lib/python3.6/site-packages/graph_tool/inference/overlap_blockmodel.py in copy(self, g, b, B, deg_corr, clabel, pclabel, **kwargs) 333 **dmask(kwargs, ["half_edges", "node_index", 334 "eindex", "base_g", "drec", --> 335 "max_BE"])) 336 if self._coupled_state is not None: 337 state._couple_state(state.get_block_state(b=state.get_bclabel(), /usr/lib/python3.6/site-packages/graph_tool/inference/overlap_blockmodel.py in __init__(self, g, b, B, recs, rec_types, rec_params, clabel, pclabel, deg_corr, allow_empty, max_BE, **kwargs) 259 260 self._abg = self.bg._get_any() --> 261 self._state = libinference.make_overlap_block_state(self, _get_rng()) 262 263 if deg_corr: RuntimeError: No static implementation was found for the desired routine. This is a graph_tool bug. :-( Please submit a bug report at http://graph-tool.skewed.de/issues. What follows is debug information. Action: ZNK10graph_tool9StateWrapINS_12StateFactoryINS_17OverlapBlockStateEEEJNS_6detail29never_filtered_never_reversedEN5boost3mpl7vector2ISt17integral_constantIbLb1EES9_IbLb0EEEEEE13make_dispatchIJRNS6_3anyENS6_27checked_vector_property_mapIlNS6_27typed_identity_property_mapImEEEENSH_ISt6vectorIlSaIlEESJ_EENSH_IiNS6_27adj_edge_index_property_mapImEEEENSH_IiSJ_EESS_SS_SS_RSL_ImSaImEESS_SS_bSL_IiSaIiEESL_INSH_IdSQ_EESaISY_EES10_S10_S10_NSH_IdSJ_EESL_ISL_IdSaIdEESaIS13_EERS13_S16_S16_bEEclILm25EJLm0ELm1EEJLm0ELm1ELm2ELm3ELm4ELm5ELm6ELm7ELm8ELm9ELm10ELm11ELm12ELm13ELm14ELm15ELm16ELm17ELm18ELm19ELm20ELm21ELm22EEJRSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEZ24make_overlap_block_stateNS6_6python3api6objectES1B_EUlRT_E_EEvRS1E_RSt5arrayIPKcXT_EESt16integer_sequenceImJXspT0_EEES1O_ImJXspT1_EEEOT3_DpOT2_EUlDpOT_E0_ (cannot demangle symbol) Arg 1: std::reference_wrapper, graph_tool::detail::MaskFilter > >, graph_tool::detail::MaskFilter > > > > Arg 2: std::integral_constant