From 5d19e55eb4a509d9818472a9bc7f772999f0e0bc Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Fri, 15 May 2015 13:35:50 +0000 Subject: [PATCH] corrected access by number --- lib/damask/orientation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/damask/orientation.py b/lib/damask/orientation.py index 5e6889dd9..c66db9c82 100644 --- a/lib/damask/orientation.py +++ b/lib/damask/orientation.py @@ -883,6 +883,7 @@ class Orientation: variant = int(abs(direction)) me = 0 if direction > 0 else 1 other = 1 if direction > 0 else 0 + variant = variant -1 planes = {'KS': \ np.array([[[ 1, 1, 1],[ 0, 1, 1]],\