From b8e811ec1a6ea43b93fb94557b48426f780456f1 Mon Sep 17 00:00:00 2001 From: Jochen Keil Date: Mon, 21 Jun 2010 17:55:28 +0200 Subject: [PATCH] do not try to read non existing value --- Graph.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Graph.java b/Graph.java index a9ebad6..52f7957 100644 --- a/Graph.java +++ b/Graph.java @@ -197,7 +197,7 @@ class Graph { System.out.print(nearestneighbour.getNearestNeighbour(c,n) + "\t"); } } else { - System.out.print(nearestneighbour.getNearestNeighbour(c,n) + "\t"); + System.out.print("none" + "\t"); } } System.out.println(); -- 2.11.4.GIT