[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r3314 - gnuradio/branches/developers/anastas/wip/gnura
From: |
anastas |
Subject: |
[Commit-gnuradio] r3314 - gnuradio/branches/developers/anastas/wip/gnuradio-core/src/lib/general |
Date: |
Wed, 16 Aug 2006 11:13:47 -0600 (MDT) |
Author: anastas
Date: 2006-08-16 11:13:47 -0600 (Wed, 16 Aug 2006)
New Revision: 3314
Modified:
gnuradio/branches/developers/anastas/wip/gnuradio-core/src/lib/general/gr_chunks_to_symbols_XX.cc.t
Log:
fixed a minor bug in the assert()
Modified:
gnuradio/branches/developers/anastas/wip/gnuradio-core/src/lib/general/gr_chunks_to_symbols_XX.cc.t
===================================================================
---
gnuradio/branches/developers/anastas/wip/gnuradio-core/src/lib/general/gr_chunks_to_symbols_XX.cc.t
2006-08-16 17:12:15 UTC (rev 3313)
+++
gnuradio/branches/developers/anastas/wip/gnuradio-core/src/lib/general/gr_chunks_to_symbols_XX.cc.t
2006-08-16 17:13:47 UTC (rev 3314)
@@ -62,7 +62,7 @@
// per stream processing
for (int i = 0; i < noutput_items / d_D; i++){
- assert (((unsigned int)in[i]*d_D) < d_symbol_table.size());
+ assert (((unsigned int)in[i]*d_D+d_D) <= d_symbol_table.size());
memcpy(out, &d_symbol_table[(unsigned int)in[i]*d_D],
d_D*sizeof(@O_TYPE@));
out+=d_D;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r3314 - gnuradio/branches/developers/anastas/wip/gnuradio-core/src/lib/general,
anastas <=