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.
1 parent 3c8ac43 commit 8ba4c20Copy full SHA for 8ba4c20
src/qpmodel.jl
@@ -23,7 +23,7 @@ mutable struct QPData{T, S, M1 <: Union{AbstractMatrix{T}, AbstractLinearOperato
23
A::M2
24
end
25
26
-isdense(data::QPData{T, S, M1, M2}) where {T, S, M1, M2} = (M1 <: DenseMatrix|| M2 <: DenseMatrix) ? true : false
+isdense(data::QPData{T, S, M1, M2}) where {T, S, M1, M2} = M1 <: DenseMatrix || M2 <: DenseMatrix
27
28
function get_QPDataCOO(c0::T, c ::S, H::SparseMatrixCSC{T}, A::AbstractMatrix{T}) where {T, S}
29
ncon, nvar = size(A)
0 commit comments