"ts/webui/src/components/common/OpenRow.tsx" did not exist on "9d3d926bcd6c51344da9c2942dc8416b6d263600"
Commit e42603a5 authored by Paul's avatar Paul
Browse files

Use local shape variable

parent 22c28f75
......@@ -12,9 +12,10 @@ bool skip_propogate(instruction_ref ins)
{
if(ins->name() == "@literal")
return true;
if(ins->get_shape().broadcasted() and not ins->get_shape().scalar())
auto&& s = ins->get_shape();
if(s.broadcasted() and not s.scalar())
return true;
if(ins->get_shape().scalar() and ins->get_shape().elements() != 1)
if(s.scalar() and s.elements() != 1)
return true;
return false;
}
......
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