From 04be105c143ca521ad05d48d8fd94c6c48f2c4a8 Mon Sep 17 00:00:00 2001 From: Daniel_Doehring Date: Wed, 7 Feb 2024 16:49:03 +0100 Subject: [PATCH] shorten --- src/equations/traffic_flow_lwr_1d.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/equations/traffic_flow_lwr_1d.jl b/src/equations/traffic_flow_lwr_1d.jl index f2d4836ce90..967cafa2f72 100644 --- a/src/equations/traffic_flow_lwr_1d.jl +++ b/src/equations/traffic_flow_lwr_1d.jl @@ -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