From 58054d6eea47989c8b44e02b8d3b077541775dd2 Mon Sep 17 00:00:00 2001 From: "Waetschker Daniel (uib17511)" Date: Thu, 29 Oct 2020 13:54:39 +0100 Subject: [PATCH] change datatype of timestep from int to float --- app/src/main/java/de/hems/trafficsim/VehicleTimeRecord.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/de/hems/trafficsim/VehicleTimeRecord.java b/app/src/main/java/de/hems/trafficsim/VehicleTimeRecord.java index 3d1678c..8dfed4f 100644 --- a/app/src/main/java/de/hems/trafficsim/VehicleTimeRecord.java +++ b/app/src/main/java/de/hems/trafficsim/VehicleTimeRecord.java @@ -16,9 +16,9 @@ public class VehicleTimeRecord { protected int id; protected float position; protected float velocity; - protected int timestep; + protected float timestep; - public VehicleTimeRecord(int id, float position, float velocity, int timestep) { + public VehicleTimeRecord(int id, float position, float velocity, float timestep) { this.id = id; this.position = position; //needed??? this.velocity = velocity;