Commit 172f47f5 authored by Paul's avatar Paul
Browse files

Fix div by zero

parent 8344791c
......@@ -16,7 +16,7 @@ namespace gen {
struct vectorize
{
std::size_t size = 0;
std::size_t size = 1;
std::size_t axis = 0;
static vectorize elements(std::size_t axis, const std::vector<shape>& inputs);
std::string str() 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