bug fixes
This commit is contained in:
parent
34660599a1
commit
ed7423a3d6
2
PRIVATE
2
PRIVATE
|
@ -1 +1 @@
|
|||
Subproject commit f7fc61684a8bc7773fef4ffa129b6788f5b10f83
|
||||
Subproject commit c79dc5f1be75f90b0638c230d56c962bfd3b2474
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue