Bump to Magnesium dependencies
[transportpce.git] / pce / src / main / java / org / opendaylight / transportpce / pce / gnpy / GnpyTopoImpl.java
index 787fdb63bdf12b32af1c8d8e728c9d671caf267d..1b3c41e9249f1c432971f29cd19058617a95812d 100644 (file)
@@ -334,7 +334,7 @@ public class GnpyTopoImpl {
         // Compute the length of the link
         List<LinkConcatenation> linkConcatenationList = span.getLinkConcatenation();
         for (LinkConcatenation linkConcatenation : linkConcatenationList) {
-            double srlgLength = linkConcatenation.getSRLGLength();
+            double srlgLength = linkConcatenation.getSRLGLength().toJava();
             //convert to kilometer
             length += srlgLength / CONVERT_KM_M;
         }