Skip to content

Commit 1f1a428

Browse files
committed
Fix assertion failure in tdb_partitioned_matrix
1 parent 1f816dc commit 1f1a428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/detail/linalg/tdb_partitioned_matrix.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ class tdbPartitionedMatrix : public Matrix<T, LayoutPolicy, I> {
295295
num_cols_ = std::get<1>(col_view_) - std::get<0>(col_view_);
296296
col_offset_ = std::get<0>(col_view_);
297297

298-
assert(num_cols_ < max_cols_);
298+
assert(num_cols_ <= max_cols_);
299299

300300
num_col_parts_ =
301301
std::get<1>(col_part_view_) - std::get<0>(col_part_view_);

0 commit comments

Comments
 (0)