From dc2061b92070a1d5f7fa64f0b9ee022592bb0629 Mon Sep 17 00:00:00 2001 From: adv Date: Thu, 30 Jan 2014 04:37:57 +0000 Subject: [PATCH] The indexes of convertation were corrected. --- src/HYDROPy/CAS/NCollection_Sequence.sip | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/HYDROPy/CAS/NCollection_Sequence.sip b/src/HYDROPy/CAS/NCollection_Sequence.sip index 37106f2a..91c751ce 100644 --- a/src/HYDROPy/CAS/NCollection_Sequence.sip +++ b/src/HYDROPy/CAS/NCollection_Sequence.sip @@ -137,7 +137,7 @@ template return NULL; } - PyList_SET_ITEM( l, i, pobj ); + PyList_SET_ITEM( l, i - 1, pobj ); } return l; @@ -198,7 +198,7 @@ template return NULL; } - PyList_SET_ITEM( l, i, pobj ); + PyList_SET_ITEM( l, i - 1, pobj ); } return l; @@ -259,7 +259,7 @@ template return NULL; } - PyList_SET_ITEM( l, i, pobj ); + PyList_SET_ITEM( l, i - 1, pobj ); } return l; -- 2.39.2