[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 03/08: blocks: fixmsg handler pmt length /
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 03/08: blocks: fixmsg handler pmt length / size comparison to be valid. |
Date: |
Tue, 31 Mar 2015 20:37:40 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit fafd8c275505e7851565ef1f81dbcceb7693c18e
Author: Michael Dickens <address@hidden>
Date: Wed Mar 18 12:52:27 2015 -0400
blocks: fixmsg handler pmt length / size comparison to be valid.
---
gr-blocks/lib/multiply_matrix_ff_impl.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gr-blocks/lib/multiply_matrix_ff_impl.cc
b/gr-blocks/lib/multiply_matrix_ff_impl.cc
index 43f8e24..6f7d741 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;
}
- [Commit-gnuradio] [gnuradio] branch maint updated (48b29c4 -> d817c5f), git, 2015/03/31
- [Commit-gnuradio] [gnuradio] 01/08: qtgui: clarify return value, to make some compilers happier., git, 2015/03/31
- [Commit-gnuradio] [gnuradio] 05/08: audio osx: use memcpy instead of bcopy, to be consistent with the rest of GNU Radio., git, 2015/03/31
- [Commit-gnuradio] [gnuradio] 02/08: filter: use correct function for argument type; where's std::abs when you need it to auto-type?, git, 2015/03/31
- [Commit-gnuradio] [gnuradio] 08/08: logger: fix macro name in comments., git, 2015/03/31
- [Commit-gnuradio] [gnuradio] 03/08: blocks: fixmsg handler pmt length / size comparison to be valid.,
git <=
- [Commit-gnuradio] [gnuradio] 06/08: blocks: use explicit type conversion to compare the same types., git, 2015/03/31
- [Commit-gnuradio] [gnuradio] 07/08: pager & digital: add explicit type to constants that could be interpreted in other ways, to make various compilers happy., git, 2015/03/31
- [Commit-gnuradio] [gnuradio] 04/08: audio osx: change copying of a UInt32 type into a string by using memcpy instead of a direct pointer manipulation, to make some newer compilers happy., git, 2015/03/31