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
Currently, the code for both EuclideanVector and EuclideanMatrix treats the zero-correlation and the 1-correlation case by if-clauses, respectively, e.g.,
functionfilter(φ::EuclideanMatrix, grp::O3, bb::Array)
iflength(bb) ==0# no zero-correlations allowed returnfalseendiflength(bb) ==1#MS: this line could be removed, I think...returntrueend
Can we remove either or both of these if-clauses?
How would we correctly implement coco_init(::EuclideanMatrix{CT}) and coco_init(::EuclideanVector{CT}), e.g.,
coco_init(::EuclideanMatrix{CT}) where {CT<:Real} = [EuclideanMatrix(SMatrix{3,3,Complex{CT},9}([1.0,0,0,0,1.0,0,0,0,1.0]))]
? Are these actually needed?
The text was updated successfully, but these errors were encountered:
Currently, the code for both
EuclideanVector
andEuclideanMatrix
treats the zero-correlation and the 1-correlation case by if-clauses, respectively, e.g.,Can we remove either or both of these if-clauses?
How would we correctly implement
coco_init(::EuclideanMatrix{CT})
andcoco_init(::EuclideanVector{CT})
, e.g.,? Are these actually needed?
The text was updated successfully, but these errors were encountered: