Commit 93c2acb3 authored by charlie's avatar charlie
Browse files

Simplify to s0 more

parent 04b8da98
......@@ -48,16 +48,12 @@ struct contiguous
{
check_shapes{inputs, *this, true}.has(1);
auto s0 = inputs.front();
if(s0.dynamic())
if(s0.dynamic() or s0.standard())
{
return s0;
}
else
{
if(s0.standard())
{
return inputs.front();
}
auto lens = s0.lens();
auto t = s0.type();
return {t, lens};
......
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