refactor: small fix to int return

This commit is contained in:
appel_c 2024-03-01 13:13:03 +01:00
parent eb4e10e86b
commit 9a154f01e4

View File

@ -458,7 +458,7 @@ class SimulatedDataMonitor(SimulatedDataBase):
elif noise == NoiseType.UNIFORM: elif noise == NoiseType.UNIFORM:
noise = np.random.uniform(-1, 1) * noise_multiplier noise = np.random.uniform(-1, 1) * noise_multiplier
v += noise v += noise
return v return v if v > 0 else v
return v return v