bug fixes

This commit is contained in:
Martin Diehl 2019-03-10 08:16:01 +01:00
parent 34660599a1
commit ed7423a3d6
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit f7fc61684a8bc7773fef4ffa129b6788f5b10f83
Subproject commit c79dc5f1be75f90b0638c230d56c962bfd3b2474

View File

@ -72,7 +72,7 @@ parser.set_defaults(center = (.0,.0,.0),
if options.dimension is None:
parser.error('no dimension specified.')
if options.angleaxis is not None:
rotation = damask.Rotation.fromAxisAngle(np(options.angleaxis),options.degrees,normalise=True)
rotation = damask.Rotation.fromAxisAngle(np.array(options.angleaxis),options.degrees,normalise=True)
elif options.quaternion is not None:
rotation = damask.Rotation.fromQuaternion(options.quaternion)
else: