From 07434c17fc0db55db69b754d7cbd8cde0bfd204b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Can=20G=C3=BCney=20Aksakalli?= Date: Tue, 16 Aug 2016 18:02:11 +0200 Subject: [PATCH] fixing the typo of the print format --- doc/source/reference/GetEigenVectorCentr.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/reference/GetEigenVectorCentr.rst b/doc/source/reference/GetEigenVectorCentr.rst index b8ab79cc..0a425bb2 100644 --- a/doc/source/reference/GetEigenVectorCentr.rst +++ b/doc/source/reference/GetEigenVectorCentr.rst @@ -32,4 +32,4 @@ The following example shows how to calculate eigenvector centrality values for n NIdEigenH = snap.TIntFltH() snap.GetEigenVectorCentr(UGraph, NIdEigenH) for item in NIdEigenH: - print "%node: d centrality: %f" % (item, NIdEigenH[item]) + print "node: %d centrality: %f" % (item, NIdEigenH[item])