Skip to content
Snippets Groups Projects
Commit 8b08baa2 authored by Valerio Mariani's avatar Valerio Mariani
Browse files

Merge branch 'testing'

parents 3d3b7b3b cbb96423
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ class _Stack:
self._data_type = _assign_data_type(data)
if isinstance(data, (bytes, int, float)):
self._data_shape = (1,)
self._data_shape = ()
else:
self._data_shape = data.shape
......@@ -103,7 +103,7 @@ class _Stack:
raise RuntimeError('The type of the input data does not match what is already present in the stack.')
if isinstance(data, (bytes, int, float)):
curr_data_shape = (1,)
curr_data_shape = ()
else:
curr_data_shape = data.shape
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment