Skip to content

Commit

Permalink
cutime: fix single precision rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
fzimmermann89 committed May 29, 2021
1 parent c15e640 commit a2aa085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion idi/simulation/cutime.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def simulate(simobject, Ndet, pixelsize, detz, k, c, tau, pulsewidth, detangles=
inouttype,
)
if _np.any(detangles):
M = _cp.array(_rotation(*detangles, 0))
M = _cp.array(_rotation(*detangles, 0), inouttype)
det = det @ M.T

pdet = _cp.array([i.data.ptr for i in det], _np.uint64)
Expand Down

0 comments on commit a2aa085

Please sign in to comment.