@@ -34,12 +34,12 @@ class NdMatrixProxy {
34
34
* @param dim_stride: The stride of this dimension (i.e. how many element in memory between indicies of this dimension)
35
35
* @param start: Pointer to the start of the sub-matrix this proxy represents
36
36
*/
37
- NdMatrixProxy<T, N> (const size_t * dim_sizes, const size_t * dim_strides, T* start)
37
+ NdMatrixProxy (const size_t * dim_sizes, const size_t * dim_strides, T* start)
38
38
: dim_sizes_(dim_sizes)
39
39
, dim_strides_(dim_strides)
40
40
, start_(start) {}
41
41
42
- NdMatrixProxy<T, N> & operator =(const NdMatrixProxy<T, N> & other) = delete ;
42
+ NdMatrixProxy& operator =(const NdMatrixProxy& other) = delete ;
43
43
44
44
// /@brief const [] operator
45
45
const NdMatrixProxy<T, N - 1 > operator [](size_t index) const {
@@ -76,12 +76,12 @@ class NdMatrixProxy<T, 1> {
76
76
* @param dim_stride: The stride of this dimension (i.e. how many element in memory between indicies of this dimension)
77
77
* @param start: Pointer to the start of the sub-matrix this proxy represents
78
78
*/
79
- NdMatrixProxy<T, 1 > (const size_t * dim_sizes, const size_t * dim_stride, T* start)
79
+ NdMatrixProxy (const size_t * dim_sizes, const size_t * dim_stride, T* start)
80
80
: dim_sizes_(dim_sizes)
81
81
, dim_strides_(dim_stride)
82
82
, start_(start) {}
83
83
84
- NdMatrixProxy<T, 1 > & operator =(const NdMatrixProxy<T, 1 > & other) = delete ;
84
+ NdMatrixProxy& operator =(const NdMatrixProxy& other) = delete ;
85
85
86
86
// /@brief const [] operator
87
87
const T& operator [](size_t index) const {
@@ -407,3 +407,4 @@ using Matrix = NdMatrix<T, 2>;
407
407
408
408
} // namespace vtr
409
409
#endif
410
+
0 commit comments