Skip to content

Commit 2f80bfe

Browse files
Updated predistorter_training block
1 parent 0520a41 commit 2f80bfe

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib/predistorter_training_impl.cc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ void predistorter_training_impl::gen_GMPvector(const gr_complex* const in,
116116
GMP_vector.rows(kk * L_a, (kk + 1) * L_a - 1) = yy_temp;
117117
}
118118

119-
if(K_b == 0)
120-
return;
119+
// if(K_b == 0)
120+
// return;
121121

122122
/* Signal-and-Delayed Envelope */
123123
// stacking L_b+M_b elements in reverse order
@@ -156,12 +156,13 @@ int predistorter_training_impl::work(int noutput_items,
156156
{
157157
gr_complex* out = (gr_complex*)output_items[0];
158158
gr_complex* flag = (gr_complex*)output_items[1];
159+
160+
predistorter_training_colvec = d_predistorter_training_colvec;
161+
159162
// Do <+signal processing+>
160163
for (int item = history() - 1; item < noutput_items + history() - 1; item++) {
161164

162-
predistorter_training_colvec = d_predistorter_training_colvec;
163165
update_predistorter_training = d_update_predistorter_training;
164-
165166
// get PA input which has been arranged in a GMP vector format
166167
// for predistortion
167168
cx_fcolvec GMP_vector(d_M);

0 commit comments

Comments
 (0)