From: adv Date: Thu, 30 Jan 2014 04:37:57 +0000 (+0000) Subject: The indexes of convertation were corrected. X-Git-Tag: BR_hydro_v_1_0~27 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=dc2061b92070a1d5f7fa64f0b9ee022592bb0629;p=modules%2Fhydro.git The indexes of convertation were corrected. --- 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;