Skip to content

Commit c02d42d

Browse files
committed
fix: remove usage of IGRAPH_NEGINFINITY
1 parent 9bff9fa commit c02d42d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_igraph/convert.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ int igraphmodule_PyObject_to_eigen_which_t(PyObject *o,
374374
w->pos = IGRAPH_EIGEN_LM;
375375
w->howmany = 1;
376376
w->il = w->iu = -1;
377-
w->vl = IGRAPH_NEGINFINITY;
377+
w->vl = -IGRAPH_INFINITY;
378378
w->vu = IGRAPH_INFINITY;
379379
w->vestimate = 0;
380380
w->balance = IGRAPH_LAPACK_DGEEVX_BALANCE_NONE;

0 commit comments

Comments
 (0)