Fixed an empty network slicing issue
@@ -201,7 +201,10 @@ class Frequency(object):
raise IndexError('slicing frequency is incorrect')
+ if output.f.shape[0] > 0:
output.f = npy.array(output.f[key]).reshape(-1)
+ else:
+ output.f = npy.empty(shape=(0))
return output
