From 3626f46df90d1fd3e8cd5901fb7adbbebcdc734d Mon Sep 17 00:00:00 2001 From: Max Kannenberg <95709892+MaxKannenberg@users.noreply.github.com> Date: Fri, 12 Aug 2022 17:52:35 +0200 Subject: [PATCH] Fix typing error (change :speed to :velocity) --- src/behavior.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/behavior.jl b/src/behavior.jl index 4649260..ff89da8 100644 --- a/src/behavior.jl +++ b/src/behavior.jl @@ -188,7 +188,7 @@ function addAcceleratingSection!(CS::Dict, drivingCourse::Vector{Dict}, stateFla elseif drivingCourse[end][:v] > CS[:v_peak] testFlag && println("in CS",CS[:id]," accelerating cycle",cycle," case: v=", drivingCourse[end][:v]," > v_peak=",CS[:v_peak]) # for testing - if settings.stepVariable == :speed + if settings.stepVariable == :velocity currentStepSize = CS[:v_peak]-drivingCourse[end-1][:v] else currentStepSize = settings.stepSize / 10.0^cycle