Commit 7a6de62b authored by charlie's avatar charlie
Browse files

update pack()

parent 8343d47d
...@@ -47,7 +47,10 @@ struct topk ...@@ -47,7 +47,10 @@ struct topk
template <class Self, class F> template <class Self, class F>
static auto reflect(Self& self, F f) static auto reflect(Self& self, F f)
{ {
return pack(f(self.k, "k"), f(self.axis, "axis"), f(self.largest, "largest")); return pack(f(self.k, "k"),
f(self.axis, "axis"),
f(self.largest, "largest"),
f(self.use_dynamic, "use_dynamic"));
} }
value attributes() const value attributes() const
......
Markdown is supported
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