@@ -53,7 +53,7 @@ cdef class NumpyVectorTest:
5353
5454 def getConstRefVector (self ):
5555 """
56- getConstRefVector(self) -> numpy.ndarray[numpy.float64_t, numpy. ndim[1] ]
56+ getConstRefVector(self) -> numpy.ndarray[numpy.float64_t, ndim=1 ]
5757 """
5858 _r = self .inst.get().getConstRefVector()
5959 # Convert C++ vector to numpy array COPY (Python owns data)
@@ -65,7 +65,7 @@ cdef class NumpyVectorTest:
6565
6666 def getMutableRefVector (self ):
6767 """
68- getMutableRefVector(self) -> numpy.ndarray[numpy.float64_t, numpy. ndim[1] ]
68+ getMutableRefVector(self) -> numpy.ndarray[numpy.float64_t, ndim=1 ]
6969 """
7070 _r = self .inst.get().getMutableRefVector()
7171 # Convert C++ vector to numpy array COPY (Python owns data)
@@ -77,7 +77,7 @@ cdef class NumpyVectorTest:
7777
7878 def getValueVector (self , size ):
7979 """
80- getValueVector(self, size: int ) -> numpy.ndarray[numpy.float64_t, numpy. ndim[1] ]
80+ getValueVector(self, size: int ) -> numpy.ndarray[numpy.float64_t, ndim=1 ]
8181 """
8282 assert isinstance (size, int ) and size >= 0 , ' arg size wrong type'
8383
@@ -91,7 +91,7 @@ cdef class NumpyVectorTest:
9191
9292 def sumVector (self , numpy.ndarray[numpy.float64_t , ndim = 1 ] data ):
9393 """
94- sumVector(self, data: numpy.ndarray[numpy.float64_t, numpy. ndim[1] ] ) -> float
94+ sumVector(self, data: numpy.ndarray[numpy.float64_t, ndim=1 ] ) -> float
9595 """
9696 assert isinstance (data, numpy.ndarray), ' arg data wrong type'
9797 # Convert 1D numpy array to C++ vector (fast memcpy)
@@ -107,7 +107,7 @@ cdef class NumpyVectorTest:
107107
108108 def sumIntVector (self , numpy.ndarray[numpy.int32_t , ndim = 1 ] data ):
109109 """
110- sumIntVector(self, data: numpy.ndarray[numpy.int32_t, numpy. ndim[1] ] ) -> int
110+ sumIntVector(self, data: numpy.ndarray[numpy.int32_t, ndim=1 ] ) -> int
111111 """
112112 assert isinstance (data, numpy.ndarray), ' arg data wrong type'
113113 # Convert 1D numpy array to C++ vector (fast memcpy)
@@ -123,7 +123,7 @@ cdef class NumpyVectorTest:
123123
124124 def createFloatVector (self , size ):
125125 """
126- createFloatVector(self, size: int ) -> numpy.ndarray[numpy.float32_t, numpy. ndim[1] ]
126+ createFloatVector(self, size: int ) -> numpy.ndarray[numpy.float32_t, ndim=1 ]
127127 """
128128 assert isinstance (size, int ) and size >= 0 , ' arg size wrong type'
129129
@@ -137,7 +137,7 @@ cdef class NumpyVectorTest:
137137
138138 def create2DVector (self , rows , cols ):
139139 """
140- create2DVector(self, rows: int , cols: int ) -> numpy.ndarray[numpy.float64_t, numpy. ndim[2] ]
140+ create2DVector(self, rows: int , cols: int ) -> numpy.ndarray[numpy.float64_t, ndim=2 ]
141141 """
142142 assert isinstance (rows, int ) and rows >= 0 , ' arg rows wrong type'
143143 assert isinstance (cols, int ) and cols >= 0 , ' arg cols wrong type'
@@ -158,7 +158,7 @@ cdef class NumpyVectorTest:
158158
159159 def sum2DVector (self , numpy.ndarray[numpy.float64_t , ndim = 2 ] data ):
160160 """
161- sum2DVector(self, data: numpy.ndarray[numpy.float64_t, numpy. ndim[2] ] ) -> float
161+ sum2DVector(self, data: numpy.ndarray[numpy.float64_t, ndim=2 ] ) -> float
162162 """
163163 assert isinstance (data, numpy.ndarray), ' arg data wrong type'
164164 # Convert 2D numpy array to nested C++ vector
0 commit comments