Skip to content

Commit 3ac11cd

Browse files
committed
fix assert
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
1 parent cf4e402 commit 3ac11cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/math/lp/static_matrix_def.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ namespace lp {
8787

8888

8989
template <typename T, typename X> void static_matrix<T, X>::add_rows(const mpq& alpha, unsigned i, unsigned k) {
90-
lp_assert(i < row_count() && k < column_count() && i != k);
90+
lp_assert(i < row_count() && k < row_count() && i != k);
9191
auto & rowk = m_rows[k];
9292
scan_row_strip_to_work_vector(rowk);
9393
unsigned prev_size_k = rowk.size();

0 commit comments

Comments
 (0)