Skip to content
Snippets Groups Projects
Commit a50da55a authored by Thomas Jürges's avatar Thomas Jürges
Browse files

SW-382: Replace Python2 integer division (/) with Python3 one (//)

parent d3e0b3b5
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ class DB:
def __init__(self, StID, nRSP, nTBB, nLBL, nLBH, nHBA, HBA_SPLIT):
self.StID = StID
self.nr_rsp = nRSP
self.nr_spu = nRSP / 4
self.nr_spu = nRSP // 4
self.nr_rcu = nRSP * 8
self.nr_lbl = nLBL
self.nr_lbh = nLBH
......@@ -108,7 +108,7 @@ class DB:
for _rcu in range(self.nr_rcu):
error_count = 0
ant_nr = _rcu / 2
ant_nr = _rcu // 2
pol_nr = _rcu % 2 # 0=X, 1=Y
if pol_nr == 0:
......
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