From 1402527f48528eb2d79510be557581e176465202 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Wed, 6 Aug 2014 19:32:26 +0000 Subject: [PATCH] fixed nasty bug cause strange behavior for voronoi tessellation --- lib/damask/asciitable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/damask/asciitable.py b/lib/damask/asciitable.py index ff3129f7d..d65ced755 100644 --- a/lib/damask/asciitable.py +++ b/lib/damask/asciitable.py @@ -258,7 +258,7 @@ class ASCIItable(): pass # assume/hope we are at data start already... self.data = numpy.loadtxt(self.__IO__['in'], usecols=indices) if len(self.data.shape) < 2: # single column - self.data = self.data.reshape(self.data.shape[0],1) + self.data = self.data.reshape(1,self.data.shape[0]) return self.data.shape # ------------------------------------------------------------------