You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: I came across this issue by trying to implement a rand! function for complex groups, for testing purposes, and not by playing around with allocate_result, which, I understand, is for internal use.
The text was updated successfully, but these errors were encountered:
I've prepared a PR with a fix: #677 . allocate_result(G, typeof(rand), Identity(G)) doesn't work but allocate_result(G, typeof(rand)) does. I can make allocate_result(G, typeof(rand), Identity(G)) also work but it's a bit more work.
Consider a complex group, for instance
Now, the identity element is a matrix of floats (probably normal so far?)
The problem is with allocation (I suppose?).
First, this works well:
But this doesn't:
And, what I would perhaps like best, this doesn't either:
Note: I came across this issue by trying to implement a
rand!
function for complex groups, for testing purposes, and not by playing around withallocate_result
, which, I understand, is for internal use.The text was updated successfully, but these errors were encountered: