Commit 5e32b3b6 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Improve memory usage during compilation

Avoiding use of lambda::bind when not necessary (or very convenient).
parent ee25eabe
......@@ -48,12 +48,12 @@ get_vertex_combined_correlation_histogram(const GraphInterface& gi,
bins[0] = xbin;
bins[1] = ybin;
run_action<>()(gi, lambda::bind<void>
(get_correlation_histogram<GetCombinedPair>(hist, bins,
lambda::_1, lambda::_2, lambda::_3, dummy_weight(0)),
all_selectors(), all_selectors())
(degree_selector(deg1, gi), degree_selector(deg2, gi));
run_action<>()(gi, get_correlation_histogram<GetCombinedPair>(hist, bins,
all_selectors(), all_selectors(),
(degree_selector(deg1, gi), degree_selector(deg2, gi),
return python::make_tuple(hist, ret_bins);
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