Skip to content

Commit 6f54020

Browse files
committed
Fixed minor compile warning
1 parent dd08334 commit 6f54020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bmbmatrix.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1638,7 +1638,7 @@ void base_sparse_vector<Val, BV, MAX_SIZE>::swap(
16381638
template<class Val, class BV, unsigned MAX_SIZE>
16391639
void base_sparse_vector<Val, BV, MAX_SIZE>::clear_all(bool free_mem) BMNOEXCEPT
16401640
{
1641-
unsigned slices = bmatr_.rows();
1641+
auto slices = bmatr_.rows();
16421642
bvector_type* bv_null = this->get_null_bvect();
16431643
for (size_type i = 0; i < slices; ++i)
16441644
if (bvector_type* bv = this->bmatr_.get_row(i))

0 commit comments

Comments
 (0)