diff options
Diffstat (limited to 'src/de/lmu/ifi/dbs/elki/utilities/FormatUtil.java')
-rw-r--r-- | src/de/lmu/ifi/dbs/elki/utilities/FormatUtil.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/de/lmu/ifi/dbs/elki/utilities/FormatUtil.java b/src/de/lmu/ifi/dbs/elki/utilities/FormatUtil.java index e4431fd5..08b7bd0d 100644 --- a/src/de/lmu/ifi/dbs/elki/utilities/FormatUtil.java +++ b/src/de/lmu/ifi/dbs/elki/utilities/FormatUtil.java @@ -4,7 +4,7 @@ package de.lmu.ifi.dbs.elki.utilities; This file is part of ELKI: Environment for Developing KDD-Applications Supported by Index-Structures - Copyright (C) 2012 + Copyright (C) 2013 Ludwig-Maximilians-Universität München Lehr- und Forschungseinheit für Datenbanksysteme ELKI Development Team @@ -72,7 +72,7 @@ public final class FormatUtil { static { NF.setMinimumFractionDigits(0); - NF.setMaximumFractionDigits(10); + NF.setMaximumFractionDigits(8); NF.setGroupingUsed(false); NF0.setMinimumFractionDigits(0); NF0.setMaximumFractionDigits(0); @@ -721,7 +721,7 @@ public final class FormatUtil { * @return String representation of this Matrix */ public static String format(Matrix m) { - return format(m, FormatUtil.NF8); + return format(m, FormatUtil.NF); } /** @@ -741,7 +741,7 @@ public final class FormatUtil { * @return String representation of this Vector */ public static String format(Vector m) { - return format(m, FormatUtil.NF8); + return format(m, FormatUtil.NF); } /** @@ -871,7 +871,7 @@ public final class FormatUtil { * @return string fragments */ public static List<String> splitAtLastBlank(String s, int width) { - List<String> chunks = new ArrayList<String>(); + List<String> chunks = new ArrayList<>(); String tmp = s; while (tmp.length() > 0) { |