On 07.09.2017 15:31, Valery Topinsky wrote:
> Hello Tiago.
>
> There is the example code which cause the same infinite looping:
>
> *import numpy as np
> **from graph_tool.all import *
> **gg = collection.data['football']
> **dummy_type = np.array(map(lambda x: int('state' in x.lower()),
> gg.vp.label.get_2d_array([0])[0]))
> **dummy_weights = gg.new_edge_property('double')
> **dummy_weights.a = edge_endpoint_property(gg, gg.vp.value, "source").a
> - edge_endpoint_property(gg, gg.vp.value, "target").a
> **test = minimize_nested_blockmodel_dl(gg, deg_corr=False, b_min =
> dummy_type, B_max = 50, B_min=5,
> ** state_args=dict(clabel =
> dummy_type,
> ** recs =
> [dummy_weights],
> ** rec_types =
> ['real-normal']
> ** ),
> ** verbose=True)*
> Please try again with the current git version; it should be working. -- Tiago de Paula Peixoto <[email protected]>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ graph-tool mailing list [email protected] https://lists.skewed.de/mailman/listinfo/graph-tool
