Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Oct 6, 2016
1 parent 9dc0ae5 commit 93e82fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/matrix.jl
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function initmatrix(inequality::Bool, itr1, itr2=nothing)
if !(itr2 === nothing)
m += length(itr2)
end
matrix = dd_creatematrix(mytype(eltype(itr1)), m, n)
matrix = dd_creatematrix(mytype(eltype(itr1)), Cdd_rowrange(m), Cdd_colrange(n))
mat = unsafe_load(matrix)
linset = fillmatrix(inequality, mat.matrix, itr1)
if !(itr2 === nothing)
Expand Down

0 comments on commit 93e82fd

Please sign in to comment.