Commit cd4e06ad authored by David Gobbi's avatar David Gobbi

Fix warning when compiling with Python 3.5.

The PyNumberMethods initializer has two more elements in Python 3.5,
for matrix multiplication.
parent 67997195
......@@ -576,6 +576,10 @@ static PyNumberMethods PyVTKMutableObject_AsNumber = {
PyVTKMutableObject_InPlaceFloorDivide, // nb_inplace_floor_divide
PyVTKMutableObject_InPlaceTrueDivide, // nb_inplace_true_divide
PyVTKMutableObject_Index, // nb_index
#if PY_VERSION_HEX >= 0x03050000
0, // nb_matrix_multiply
0, // nb_inplace_matrix_multiply
#endif
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment