Skip to content
Snippets Groups Projects
Commit 8b74b55e authored by a.croix's avatar a.croix
Browse files

Correct dependency error

parent 83ebf608
No related branches found
No related tags found
No related merge requests found
Pipeline #1586 passed
...@@ -85,6 +85,13 @@ ...@@ -85,6 +85,13 @@
<version>1.4</version> <version>1.4</version>
</dependency> </dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.8.1</version>
</dependency>
<dependency> <dependency>
<groupId>be.cylab</groupId> <groupId>be.cylab</groupId>
<artifactId>java-roc</artifactId> <artifactId>java-roc</artifactId>
......
...@@ -247,6 +247,11 @@ public final class Utils { ...@@ -247,6 +247,11 @@ public final class Utils {
return true_alert; return true_alert;
} }
/**
* Function to convert a List of double to an Array of doubles.
* @param elements
* @return
*/
public static double[] convertListDoubleToArrayDouble( public static double[] convertListDoubleToArrayDouble(
final List<Double> elements) { final List<Double> elements) {
Double[] w = new Double[elements.size()]; Double[] w = new Double[elements.size()];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment