Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pietro Max Marsella committed Dec 24, 2024
1 parent 29c9848 commit baab666
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/utils/src/utils/containers/recurse_n.cc
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
#include "utils/containers/recurse_n.h"
#include "utils/archetypes/value_type.h"
#include <functional>

namespace FlexFlow {

using T = value_type<0>;
using F = std::function<T(T)>; // F :: T -> T

template T recurse_n(F const &f, int n, T const &initial_value);

} // namespace FlexFlow

0 comments on commit baab666

Please sign in to comment.