Skip to content

Commit

Permalink
shorten
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDoehring committed Feb 7, 2024
1 parent 1597340 commit 04be105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/equations/traffic_flow_lwr_1d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
f = 1 / L
omega = 2 * pi * f
du = omega * cos(omega * (x[1] - t)) *
(-1 - 2 * equations.v_max * sin(omega * (x[1] - t)) - 3 * equations.v_max)
(-1 - equations.v_max * (2 * sin(omega * (x[1] - t)) + 3))

return SVector(du)
end
Expand Down

0 comments on commit 04be105

Please sign in to comment.