Commit b7a6196e authored by Noto Operator's avatar Noto Operator
Browse files

fixed bug in LO setup

parent c6e18bbb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -284,7 +284,7 @@ void CComponentCore::setLO(const ACS::doubleSeq& lo) throw (ComponentErrors::Val
        throw impl;
    }
    //computes the synthesizer settings
    trueValue=(lo[0]/(double)m_configuration.getLOMultiplier())+m_configuration.getFixedLO2()[0];
    trueValue=(lo[0]/(double)m_configuration.getLOMultiplier()[0])+m_configuration.getFixedLO2()[0];
    size=m_configuration.getSynthesizerTable(freq,power);
    amp=round(linearFit(freq,power,size,trueValue));
    if (power) delete [] power;