also missing

This commit is contained in:
Martin Diehl 2020-04-11 18:32:06 +02:00
parent 8c61f67e34
commit c57f96cd6e
1 changed files with 4 additions and 1 deletions

View File

@ -1000,7 +1000,10 @@ class Rotation:
@staticmethod @staticmethod
def ho2cu(ho): def ho2cu(ho):
"""Homochoric vector to cubochoric vector.""" """Homochoric vector to cubochoric vector."""
return ball_to_cube(ho) if len(ho.shape) == 1:
return ball_to_cube(ho)
else:
raise NotImplementedError
#---------- Cubochoric ---------- #---------- Cubochoric ----------