python: fix numpy datatype

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
pull/107/head
Thorsten Liebig 2023-01-07 20:50:10 +01:00
parent 55068629b0
commit a0e45f8869
1 changed files with 2 additions and 2 deletions

View File

@ -64,8 +64,8 @@ class Port(object):
self.CSX = CSX self.CSX = CSX
self.number = port_nr self.number = port_nr
self.excite = excite self.excite = excite
self.start = np.array(start, np.float) self.start = np.array(start, np.double)
self.stop = np.array(stop, np.float) self.stop = np.array(stop, np.double)
self.Z_ref = None self.Z_ref = None
self.U_filenames = kw.get('U_filenames', []) self.U_filenames = kw.get('U_filenames', [])
self.I_filenames = kw.get('I_filenames', []) self.I_filenames = kw.get('I_filenames', [])