MCPcopy Create free account
hub / github.com/aff3ct/aff3ct / _check_H_dimensions

Method _check_H_dimensions

src/Module/Encoder/LDPC/Encoder_LDPC.cpp:92–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90
91template<typename B>
92void
93Encoder_LDPC<B>::_check_H_dimensions()
94{
95 if (this->N != (int)this->H.get_n_rows())
96 {
97 std::stringstream message;
98 message << "The built H matrix has a dimension 'N' different than the given one ('N' = " << this->N
99 << ", 'H.get_n_rows()' = " << this->H.get_n_rows() << ").";
100 throw spu::tools::runtime_error(__FILE__, __LINE__, __func__, message.str());
101 }
102}
103
104template<typename B>
105void

Callers 1

check_H_dimensionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected