mirror of
https://github.com/shizand/statapp.git
synced 2024-12-23 12:12:59 +03:00
fix: исправлена ошибка, при СКО = 0 для фактора
This commit is contained in:
parent
cca57740a2
commit
57dec07000
@ -88,6 +88,8 @@ class MainWindow(QMainWindow):
|
|||||||
k = 2 - 1 / k
|
k = 2 - 1 / k
|
||||||
if gfw.typeConnection == INDIRECT_LINK:
|
if gfw.typeConnection == INDIRECT_LINK:
|
||||||
k = 1 / k
|
k = 1 / k
|
||||||
|
if gfw.deviation == 0:
|
||||||
|
k = 1
|
||||||
|
|
||||||
x = np.random.normal(gfw.mat * (k ** 3), gfw.deviation * k, size=1)
|
x = np.random.normal(gfw.mat * (k ** 3), gfw.deviation * k, size=1)
|
||||||
x_arr = np.append(x_arr, x)
|
x_arr = np.append(x_arr, x)
|
||||||
|
Loading…
Reference in New Issue
Block a user