File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ class matrix
8585 bool end ()
8686 {
8787 return current_idx >=
88- this ->matr . access_to_1d ( this ->matr . N , this ->matr . M );
88+ this ->matr -> access_to_1d ( this ->matr -> N , this ->matr -> M );
8989 }
9090
9191 /* *
@@ -126,7 +126,7 @@ class matrix
126126 **/
127127 mutable_iterator& next_row ()
128128 {
129- this += this ->matr . M ;
129+ this += this ->matr -> M ;
130130 return *this ;
131131 }
132132
@@ -139,7 +139,7 @@ class matrix
139139 **/
140140 mutable_iterator &next_col ()
141141 {
142- this += this ->matr . N ;
142+ this += this ->matr -> N ;
143143 return *this ;
144144 }
145145
@@ -240,7 +240,7 @@ class matrix
240240 bool end ()
241241 {
242242 return current_idx >=
243- this ->matr . access_to_1d ( this ->matr . N , this ->matr . M );
243+ this ->matr -> access_to_1d ( this ->matr -> N , this ->matr -> M );
244244 }
245245
246246 /* *
@@ -281,7 +281,7 @@ class matrix
281281 **/
282282 iterator& next_row ()
283283 {
284- this += this ->matr . M ;
284+ this += this ->matr -> M ;
285285 return *this ;
286286 }
287287
@@ -294,7 +294,7 @@ class matrix
294294 **/
295295 iterator &next_col ()
296296 {
297- this += this ->matr . N ;
297+ this += this ->matr -> N ;
298298 return *this ;
299299 }
300300
You can’t perform that action at this time.
0 commit comments