From c57f96cd6eb3e369f5ce8bd4a8b3fab2ca2d51dd Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sat, 11 Apr 2020 18:32:06 +0200 Subject: [PATCH] also missing --- python/damask/_rotation.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/damask/_rotation.py b/python/damask/_rotation.py index 4c164376c..b2a08d77b 100644 --- a/python/damask/_rotation.py +++ b/python/damask/_rotation.py @@ -1000,7 +1000,10 @@ class Rotation: @staticmethod def ho2cu(ho): """Homochoric vector to cubochoric vector.""" - return ball_to_cube(ho) + if len(ho.shape) == 1: + return ball_to_cube(ho) + else: + raise NotImplementedError #---------- Cubochoric ----------