rotation class does not take care of correct shape anymore

This commit is contained in:
Martin Diehl 2020-04-21 13:22:24 +02:00
parent 75d7238376
commit b1be4e7ac8
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ for name in filenames:
elif inputtype == 'matrix':
d = representations['matrix'][1]
o = damask.Rotation.fromMatrix(list(map(float,table.data[column:column+d])))
o = damask.Rotation.fromMatrix(np.array(list(map(float,table.data[column:column+d]))).reshape(3,3))
elif inputtype == 'frame':
M = np.array(list(map(float,table.data[column[0]:column[0]+3] + \