diff options
author | Michael Dickens <michael.dickens@ettus.com> | 2015-03-18 12:52:27 -0400 |
---|---|---|
committer | Michael Dickens <michael.dickens@ettus.com> | 2015-03-31 12:23:26 -0400 |
commit | fafd8c275505e7851565ef1f81dbcceb7693c18e (patch) | |
tree | 63cb1b3dd8fe775948eb5710138009e04e92aca1 | |
parent | 3c3988795cd894ee26132deb0f478e78d05575e5 (diff) |
blocks: fixmsg handler pmt length / size comparison to be valid.
-rw-r--r-- | gr-blocks/lib/multiply_matrix_ff_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-blocks/lib/multiply_matrix_ff_impl.cc b/gr-blocks/lib/multiply_matrix_ff_impl.cc index 43f8e24646..6f7d741bab 100644 --- a/gr-blocks/lib/multiply_matrix_ff_impl.cc +++ b/gr-blocks/lib/multiply_matrix_ff_impl.cc @@ -141,7 +141,7 @@ namespace gr { GR_LOG_ALERT(d_logger, "Invalid message to set A (wrong type)."); return; } - if (!pmt::length(A) == d_A.size()) { + if (pmt::length(A) != d_A.size()) { GR_LOG_ALERT(d_logger, "Invalid message to set A (wrong size)."); return; } |