Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -56,10 +56,10 @@ def compute(N, D):
|
|
56 |
N_opt = n_opt(C)
|
57 |
D_opt = d_opt(C)
|
58 |
|
59 |
-
kn = N/N_opt
|
60 |
kd = compute_kd(kn)
|
61 |
|
62 |
-
print(N, D, N_opt, D_opt, kn, kd)
|
63 |
|
64 |
fig = plot_curve(kn, kd)
|
65 |
|
|
|
56 |
N_opt = n_opt(C)
|
57 |
D_opt = d_opt(C)
|
58 |
|
59 |
+
kn = Bn*N/N_opt
|
60 |
kd = compute_kd(kn)
|
61 |
|
62 |
+
print(N, D, N_opt/Bn, D_opt/Bn, kn, kd)
|
63 |
|
64 |
fig = plot_curve(kn, kd)
|
65 |
|