Aufgrund einer Störung des s3 Storage, könnten in nächster Zeit folgende GitLab Funktionen nicht zur Verfügung stehen: LFS, Container Registry, Job Artifacs, Uploads (Wiki, Bilder, Projekt-Exporte). Wir bitten um Verständnis. Es wird mit Hochdruck an der Behebung des Problems gearbeitet. Weitere Informationen zur Störung des Object Storage finden Sie hier: https://maintenance.itc.rwth-aachen.de/ticket/status/messages/59-object-storage-pilot

Commit f9683965 authored by Jean Meurice's avatar Jean Meurice
Browse files

Use new commons version + SpeedLimit array fix

parent d134b745
Pipeline #471743 passed with stage
in 56 seconds
......@@ -25,10 +25,10 @@
<properties>
<!-- USE THIS VARIABLE TO SET THE VERSION OF THIS PROJECT AND ALL SUB PROJECTS -->
<revision>3.1.9</revision>
<revision>3.1.10</revision>
<!-- USE THESE TO SET THE VERSIONS OF THE DEPENDENCIES FOR ALL THE SUB-PROJECTS -->
<commons.version>2.0.16</commons.version>
<commons.version>2.0.17</commons.version>
<controller.version>1.1.0</controller.version>
<assembly.plugin>2.5.4</assembly.plugin>
......
......@@ -84,7 +84,7 @@ public class SpeedLimitService extends EEComponent {
* @return array of speed limits (with a length of trajectoryLength - 1)
*/
public double[] fetchUpperSpeedLimits() {
double[] maxSpeedArr = new double[trajectoryLength - 1];
double[] maxSpeedArr = new double[Navigation.TRAJ_ARRAY_LENGTH - 1];
for (int i=0; i < trajectoryLength - 1; i++){
maxSpeedArr[i] = -1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment