Base: fix bug in matrix multiplication (Python API)

This commit is contained in:
0penBrain
2022-02-03 18:16:22 +01:00
committed by Uwe
parent 7bba2ce61f
commit f986ab46fd

View File

@@ -185,7 +185,7 @@ PyObject* MatrixPy::number_multiply_handler(PyObject *self, PyObject *other)
}
if (PyNumber_Check(other)) {
double v = PyFloat_AsDouble(self);
double v = PyFloat_AsDouble(other);
a.scale(v,v,v);
return new MatrixPy(a);
}