summaryrefslogtreecommitdiffhomepage
path: root/ir/kaps
diff options
context:
space:
mode:
authorAndreas Zwinkau <zwinkau@kit.edu>2013-01-23 16:41:04 +0100
committerAndreas Zwinkau <zwinkau@kit.edu>2013-01-23 16:54:23 +0100
commit4b1026fcc645fc4220b57e4779ff03089ca4f7dc (patch)
tree61f305e960a998758a68367e768f454bbc9e7bf2 /ir/kaps
parent449d2bceabc8cf84942ca156147a509bde7c6490 (diff)
Fix asserts
Diffstat (limited to 'ir/kaps')
-rw-r--r--ir/kaps/matrix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/kaps/matrix.c b/ir/kaps/matrix.c
index 38177d6..2f912fe 100644
--- a/ir/kaps/matrix.c
+++ b/ir/kaps/matrix.c
@@ -249,8 +249,8 @@ int pbqp_matrix_is_zero(pbqp_matrix_t *mat, vector_t *src_vec, vector_t *tgt_vec
unsigned col_len = mat->cols;
unsigned row_len = mat->rows;
- assert(col_len = tgt_vec->len);
- assert(row_len = src_vec->len);
+ assert(col_len == tgt_vec->len);
+ assert(row_len == src_vec->len);
for (unsigned row_index = 0; row_index < row_len; ++row_index) {
if (src_vec->entries[row_index].data == INF_COSTS)