]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
The indexes of convertation were corrected.
authoradv <adv@opencascade.com>
Thu, 30 Jan 2014 04:37:57 +0000 (04:37 +0000)
committeradv <adv@opencascade.com>
Thu, 30 Jan 2014 04:37:57 +0000 (04:37 +0000)
src/HYDROPy/CAS/NCollection_Sequence.sip

index 37106f2ab1b4c04c8e1ae02d6ebadfe97909e9b1..91c751cee92944693f405ddb719d85bd7186b8e0 100644 (file)
@@ -137,7 +137,7 @@ template<TYPE>
         return NULL;
       }
 
-      PyList_SET_ITEM( l, i, pobj );
+      PyList_SET_ITEM( l, i - 1, pobj );
     }
 
     return l;
@@ -198,7 +198,7 @@ template<TYPE>
         return NULL;
       }
 
-      PyList_SET_ITEM( l, i, pobj );
+      PyList_SET_ITEM( l, i - 1, pobj );
     }
 
     return l;
@@ -259,7 +259,7 @@ template<TYPE>
         return NULL;
       }
 
-      PyList_SET_ITEM( l, i, pobj );
+      PyList_SET_ITEM( l, i - 1, pobj );
     }
 
     return l;