Skip to content

Commit 56fa24b

Browse files
lhupeLukas HupeLukas Hupe
authored
fix lorenz_rule definition (#19)
* fix lorenz_rule definition * bump version to 1.1.1 --------- Co-authored-by: Lukas Hupe <spam@lhupe.de> Co-authored-by: Lukas Hupe <lukas.hupe@ds.mpg.de>
1 parent 9d53da8 commit 56fa24b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "PredefinedDynamicalSystems"
22
uuid = "31e2f376-db9e-427a-b76e-a14f56347a14"
33
repo = "https://github.com/JuliaDynamics/PredefinedDynamicalSystems.jl.git"
4-
version = "1.1.0"
4+
version = "1.1.1"
55

66
[deps]
77
DynamicalSystemsBase = "6e36e845-645a-534a-86f2-f5d4aa5a06b4"

src/continuous_famous_systems.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ end
3030
const lorenz63 = lorenz
3131
@inbounds function lorenz_rule(u, p, t)
3232
du1 = p[1]*(u[2]-u[1])
33-
du2 = u[1]*(ρ-u[3]) - u[2]
33+
du2 = u[1]*(p[2]-u[3]) - u[2]
3434
du3 = u[1]*u[2] - p[3]*u[3]
3535
return SVector{3}(du1, du2, du3)
3636
end

0 commit comments

Comments
 (0)