We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
transpose
wrapper_char
1 parent 625bc62 commit 30eed3aCopy full SHA for 30eed3a
src/adjtrans.jl
@@ -328,9 +328,9 @@ wrapperop(::Adjoint) = adjoint
328
wrapperop(::Transpose) = transpose
329
330
# equivalent to wrapperop, but treats real transposes and adjoints identically
331
-# this might help reduce compilation times
+# this helps reduce compilation latencies, and also matches the behavior of `wrapper_char`
332
_wrapperop(x) = wrapperop(x)
333
-_wrapperop(::Transpose{<:Real}) = adjoint
+_wrapperop(::Adjoint{<:Real}) = transpose
334
335
# the following fallbacks can be removed if Adjoint/Transpose are restricted to AbstractVecOrMat
336
size(A::AdjOrTrans) = reverse(size(A.parent))
0 commit comments