We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dde2994 commit 95cce64Copy full SHA for 95cce64
2 files changed
src/node/hlist.cpp
@@ -23,7 +23,7 @@ namespace mfl
23
{
24
return std::ranges::fold_left_first(
25
l.nodes | std::views::transform([](const node_variant& n) { return width(n); }), std::plus{})
26
- .value_or({});
+ .value_or(dist_t{});
27
}
28
29
dist_t hlist_depth(const hlist& l)
src/node/vlist.cpp
@@ -9,6 +9,6 @@ namespace mfl
9
10
11
l.nodes | std::views::transform([](const node_variant& n) { return vsize(n); }), std::plus{})
12
13
14
0 commit comments