Commit 69fd7265 authored by Vedran Miletić's avatar Vedran Miletić

Fix building on Solaris (_P is a system macro)

parent 7c64aa92
......@@ -556,7 +556,7 @@ void RbtSAIdxSF::Setup() {
// overridden
RbtStringList secList = m_spSolvSource->GetSectionList();
std::string _R("R");
std::string _P("P");
std::string _PARAM_P("P");
std::string _ASP("ASP");
std::string _CHG_SCALING("CHG_SCALING");
m_solvTable.clear();
......@@ -565,7 +565,7 @@ void RbtSAIdxSF::Setup() {
std::string stri = hhsType.Type2Str(RbtHHSType::eType(i));
m_spSolvSource->SetSection(stri);
double r = m_spSolvSource->GetParameterValue(_R);
double p = m_spSolvSource->GetParameterValue(_P);
double p = m_spSolvSource->GetParameterValue(_PARAM_P);
double asp = m_spSolvSource->GetParameterValue(_ASP);
bool chg_scaling = m_spSolvSource->isParameterPresent(_CHG_SCALING);
m_solvTable.push_back(solvprms(r, p, asp, chg_scaling));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment