Skip to content

Commit e2e24a5

Browse files
committed
add NotImplementedError in empty case
1 parent 9e408b9 commit e2e24a5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

control/freqplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,8 +458,8 @@ def default_frequency_range(syslist, Hz=None, number_of_samples=None, feature_pe
458458
z = z[(z.imag != 0.0)] # Get rid of poles and zeros at the origin and real <= 0 & imag==0
459459
features = np.concatenate((features, np.abs(np.log(z) / sys.dt)))
460460
else:
461-
pass
462-
# TODO:
461+
# TODO
462+
raise NotImplementedError('type of system in not implemented now')
463463
except:
464464
pass
465465

0 commit comments

Comments
 (0)