File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,12 +51,10 @@ void declare_operations(nb::module_& m) {
5151
5252 types::run_each<
5353 metal::transform<
54- metal::partial<
55- metal::lambda<metal::apply>,
56- metal::lambda<declare_cartesian_product>>,
57- metal::cartesian<
58- types::simple_vert_types,
59- types::simple_vert_types>>>{}(m);
54+ metal::bind<
55+ metal::lambda<declare_cartesian_product>,
56+ metal::_1, metal::_1>,
57+ types::simple_vert_types>>{}(m);
6058
6159 declare_typed_add_operation_algorithms (m);
6260 declare_typed_remove_operation_algorithms (m);
Original file line number Diff line number Diff line change 33
44#include < utility>
55#include < random>
6- #include < concepts>
76
87#include < metal.hpp>
98
@@ -55,15 +54,15 @@ namespace types {
5554
5655 using pair_vert_types =
5756 metal::transform<
58- metal::partial <
59- metal::lambda<metal::apply >,
60- metal::lambda<std::pair> >,
61- metal::cartesian< simple_vert_types, simple_vert_types> >;
57+ metal::bind <
58+ metal::lambda<std::pair >,
59+ metal::_1, metal::_1 >,
60+ simple_vert_types>;
6261
63- using compount_vert_type = metal::join<pair_vert_types>;
62+ using compound_vert_type = metal::join<pair_vert_types>;
6463
6564 using first_order_vert_types =
66- metal::join<simple_vert_types, compount_vert_type >;
65+ metal::join<simple_vert_types, compound_vert_type >;
6766
6867 // first-order static edges
6968 using first_order_undirected_edges =
You can’t perform that action at this time.
0 commit comments