Skip to content

Commit 8ba4c20

Browse files
geoffroylecontedpo
andcommitted
Update src/qpmodel.jl
Co-authored-by: Dominique <[email protected]>
1 parent 3c8ac43 commit 8ba4c20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qpmodel.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ mutable struct QPData{T, S, M1 <: Union{AbstractMatrix{T}, AbstractLinearOperato
2323
A::M2
2424
end
2525

26-
isdense(data::QPData{T, S, M1, M2}) where {T, S, M1, M2} = (M1 <: DenseMatrix|| M2 <: DenseMatrix) ? true : false
26+
isdense(data::QPData{T, S, M1, M2}) where {T, S, M1, M2} = M1 <: DenseMatrix || M2 <: DenseMatrix
2727

2828
function get_QPDataCOO(c0::T, c ::S, H::SparseMatrixCSC{T}, A::AbstractMatrix{T}) where {T, S}
2929
ncon, nvar = size(A)

0 commit comments

Comments
 (0)