Skip to content

Commit c8b4505

Browse files
committed
Colmaj Use dim_t
1 parent 7e8b8df commit c8b4505

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/colmaj.tcc

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ template <typename T>
1313
struct colmaj
1414
{
1515
T *dat;
16-
unsigned ld;
16+
dim_t ld;
1717

1818
colmaj() = delete;
19-
colmaj(T *dat_, unsigned ld_)
19+
colmaj(T *dat_, dim_t ld_)
2020
: dat(dat_), ld(ld_) { }
2121

22-
T &operator()(unsigned i, unsigned j)
22+
T &operator()(dim_t i, dim_t j)
2323
{
2424
return dat[ i + j * ld ];
2525
}

0 commit comments

Comments
 (0)