From 72ebf7c0f32af23bd22e33cc385c4d9cd587f775 Mon Sep 17 00:00:00 2001 From: Michele De Bonis Date: Thu, 18 Oct 2018 10:12:44 +0200 Subject: [PATCH] update of the spark test --- .../src/main/java/eu/dnetlib/pace/distance/eval/ScoreResult.java | 1 + 1 file changed, 1 insertion(+) diff --git a/dnet-pace-core/src/main/java/eu/dnetlib/pace/distance/eval/ScoreResult.java b/dnet-pace-core/src/main/java/eu/dnetlib/pace/distance/eval/ScoreResult.java index a61cf6e15..b5cdad730 100644 --- a/dnet-pace-core/src/main/java/eu/dnetlib/pace/distance/eval/ScoreResult.java +++ b/dnet-pace-core/src/main/java/eu/dnetlib/pace/distance/eval/ScoreResult.java @@ -50,6 +50,7 @@ public class ScoreResult { @Override public String toString() { final GsonBuilder b = new GsonBuilder(); + b.serializeSpecialFloatingPointValues(); return b.setPrettyPrinting().create().toJson(this); } }