Skip to content

Commit 57b60cd

Browse files
TorkelEisaacsas
andauthored
Update test/miscellaneous_tests/symbolic_stoichiometry.jl
Co-authored-by: Sam Isaacson <[email protected]>
1 parent b5c4f7c commit 57b60cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/miscellaneous_tests/symbolic_stoichiometry.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ let
109109
function sdenoise(u, p, t)
110110
k,α = p
111111
A,B,C,D = u
112-
n = Int64(2 * α^2)
113-
rl = sqrt(t * k / factorial(Int64(n)) * A^n)
114-
rl2 = sqrt(A^α * B^2 / (2 * factorial(Int64(α))))
112+
n = 2 * α^2
113+
rl = sqrt(t * k / factorial(n) * A^n)
114+
rl2 = sqrt(A^α * B^2 / (2 * factorial(α)))
115115

116116
du = zeros(4,2)
117117
du = [-n*rl (-α*rl2);

0 commit comments

Comments
 (0)