Fix typo
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org>
This commit is contained in:
parent
8e221bfb97
commit
b3f5de9999
1 changed files with 1 additions and 1 deletions
|
|
@ -293,7 +293,7 @@
|
||||||
<!-- Matrix Aux functions -->
|
<!-- Matrix Aux functions -->
|
||||||
<template name="matrix_constructor">
|
<template name="matrix_constructor">
|
||||||
if (PySequence_Size(%PYARG_1) == %SIZE) {
|
if (PySequence_Size(%PYARG_1) == %SIZE) {
|
||||||
Shiboken::AutoDecRef fast(PySequence_Fast(%PYARG_1, "Fail to parse sequnce on %TYPE constructor."));
|
Shiboken::AutoDecRef fast(PySequence_Fast(%PYARG_1, "Failed to parse sequence on %TYPE constructor."));
|
||||||
qreal values[%SIZE];
|
qreal values[%SIZE];
|
||||||
for(int i=0; i < %SIZE; i++) {
|
for(int i=0; i < %SIZE; i++) {
|
||||||
PyObject *pv = PySequence_Fast_GET_ITEM(fast.object(), i);
|
PyObject *pv = PySequence_Fast_GET_ITEM(fast.object(), i);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue