diff --git a/Modulator.cpp b/Modulator.cpp index b095f10e5..08c0d9635 100644 --- a/Modulator.cpp +++ b/Modulator.cpp @@ -61,6 +61,7 @@ void Modulator::start (unsigned symbolsLength, double framesPerSymbol, m_symbolsLength = symbolsLength; m_isym0 = std::numeric_limits::max (); // big number m_frequency0 = 0.; + m_phi = 0.; m_addNoise = dBSNR < 0.; m_nsps = framesPerSymbol; m_frequency = frequency;