Skip to content

Commit 3ce75d5

Browse files
committed
additional use of the array module to supress warnings in new Mosek versions
1 parent eab0805 commit 3ce75d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inflation/lp/lp_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,15 +376,15 @@ def solveLP_sparse(objective: coo_array = blank_coo_array,
376376
# maxnumvar=
377377
numvar,
378378
# c=
379-
objective_vector,
379+
array("d", objective_vector),
380380
# cfix=
381381
0,
382382
# aptrb=
383383
matrix.indptr[:-1],
384384
# aptre=
385385
matrix.indptr[1:],
386386
# asub=
387-
array("i",matrix.indices),
387+
array("i", matrix.indices),
388388
# aval=
389389
matrix.data,
390390
bkc,

0 commit comments

Comments
 (0)