Skip to content

Commit 4ed58b2

Browse files
authored
Merge pull request #264 from LadnerLab/develop
Merge develop changes
2 parents 6f8db87 + ef195f2 commit 4ed58b2

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

include/modules/core/matrix.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)