Skip to content
Snippets Groups Projects

L2SS-281: Move attribute extender bug fixes to a dedicated master branch

7 files
+ 41
10
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -199,7 +199,8 @@ class ProtocolAttribute:
value = numpy.array(self.node.get_value())
if self.dim_y + self.dim_x == 1:
return numpy.array([value])
# scalar
return value
elif self.dim_y != 0:
value = numpy.array(numpy.split(value, indices_or_sections=self.dim_y))
elif self.dim_y + self.dim_x == 1:
Loading