summaryrefslogtreecommitdiff
path: root/gr-fec/include
diff options
context:
space:
mode:
authortracierenea <tracie.perez@mavs.uta.edu>2014-07-12 11:37:22 -0500
committerTom Rondeau <tom@trondeau.com>2015-10-15 10:40:22 -0400
commit68bcd7305b51a6aa8bfdc0220da3b5ec9c2763a7 (patch)
treecfce98b848758dc42dc016bf78e5f6481077fba1 /gr-fec/include
parentbbaa0294e50f2aab02b6413f7e2f17a23fca81b2 (diff)
fec: LDPC: Adding 3 LDPC-related xml files for GRC.
Also changed constructor for ldpc_par_chk_mtrx to take a filename string instead of pointer, because I think works better for GRC? Tried adding these blocks to the example flowgraph ber_curve_gen, and it runs, but the QT QUI Bercurve sink just displays a plot with points at 0,0. Still troubleshooting that...
Diffstat (limited to 'gr-fec/include')
-rw-r--r--gr-fec/include/gnuradio/fec/ldpc_par_chk_mtrx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-fec/include/gnuradio/fec/ldpc_par_chk_mtrx.h b/gr-fec/include/gnuradio/fec/ldpc_par_chk_mtrx.h
index 61bed6ef57..5b9efea771 100644
--- a/gr-fec/include/gnuradio/fec/ldpc_par_chk_mtrx.h
+++ b/gr-fec/include/gnuradio/fec/ldpc_par_chk_mtrx.h
@@ -58,12 +58,12 @@ namespace gr {
gsl_matrix *d_phi_inverse_ptr;
// Read the matrix from a file in alist format
- void read_matrix_from_file(const std::string *);
+ void read_matrix_from_file(const std::string filename);
// Set the submatrix variables needed for encoding
void set_parameters_for_encoding();
public:
- ldpc_par_chk_mtrx(const std::string &filename, unsigned int gap);
+ ldpc_par_chk_mtrx(const std::string filename, unsigned int gap);
// Default constructor, should not be used
ldpc_par_chk_mtrx();
// Get the codeword length n