Fix UnboundLocalError in VideoSpeedTest.

This commit is contained in:
Elliott Sales de Andrade 2019-09-09 00:27:29 -04:00
parent 3edbef6c57
commit d726a9693e

View File

@ -103,6 +103,7 @@ def mkData():
dt = np.float
loc = 1.0
scale = 0.1
mx = 1.0
if ui.rgbCheck.isChecked():
data = np.random.normal(size=(frames,width,height,3), loc=loc, scale=scale)