From 03aa3c5a7d0060c39f4b1f378396bae1b71ff4e8 Mon Sep 17 00:00:00 2001 From: Patrick Brosi Date: Wed, 8 Aug 2018 18:58:48 +0200 Subject: [PATCH] fix deg output in geographjsonoutput --- src/util/geo/output/GeoGraphJsonOutput.tpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/geo/output/GeoGraphJsonOutput.tpp b/src/util/geo/output/GeoGraphJsonOutput.tpp index e026a27..7c2517e 100644 --- a/src/util/geo/output/GeoGraphJsonOutput.tpp +++ b/src/util/geo/output/GeoGraphJsonOutput.tpp @@ -23,7 +23,7 @@ void GeoGraphJsonOutput::print(const util::graph::Graph& outG, if (!n->pl().getGeom()) continue; json::Dict props{{"id", toString(n)}, - {"deg", toString(n->getInDeg() + n->getOutDeg())}, + {"deg", toString(n->getDeg())}, {"deg_out", toString(n->getOutDeg())}, {"deg_in", toString(n->getInDeg())}};