File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/abstractblocksparsearray Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ const MATRIX_FUNCTIONS_UNSTABLE = [
95
95
function initialize_output_blocksparse (f:: F , a:: AbstractMatrix ) where {F}
96
96
blockt = Base. promote_op (f, blocktype (a))
97
97
elt′ = Base. promote_op (f, eltype (a))
98
- blockt′ = if blockt > : AbstractMatrix{elt′} || blockt === Union{}
98
+ blockt′ = if ! ( blockt < : AbstractMatrix{elt′} ) || blockt === Union{}
99
99
AbstractMatrix{elt′}
100
100
else
101
101
blockt
@@ -125,7 +125,7 @@ for f in MATRIX_FUNCTIONS_UNSTABLE
125
125
function initialize_output_blocksparse (:: typeof ($ f), a:: AbstractMatrix )
126
126
elt′ = complex (eltype (a))
127
127
blockt = Base. promote_op (similar, blocktype (a), elt′)
128
- blockt′ = if blockt > : AbstractMatrix{elt′} || blockt === Union{}
128
+ blockt′ = if ! ( blockt < : AbstractMatrix{elt′} ) || blockt === Union{}
129
129
AbstractMatrix{elt′}
130
130
else
131
131
blockt
You can’t perform that action at this time.
0 commit comments