Skip to content

Commit 5f86bdd

Browse files
committed
ssize_t is no longer available. Just ignore that warning
1 parent 15a763e commit 5f86bdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python/simplex_python.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ PySimplex_solveBuffer(PySimplex* self, PyObject* args){
200200
self->sPointer->clearValues();
201201
outVec = self->sPointer->solve(stdVec);
202202

203-
if (outView.shape[0] < (ssize_t)outVec.size()){
203+
if (outView.shape[0] < outVec.size()){
204204
PyErr_SetString(PyExc_ValueError, "Output must have enough space allocated");
205205
PyBuffer_Release(&inView);
206206
PyBuffer_Release(&outView);

0 commit comments

Comments
 (0)