Commit d8ba38be authored by Douglas Serson's avatar Douglas Serson
Browse files

Fix for useSessionVariables

parent e66deaa1
......@@ -194,14 +194,10 @@ void ProcessCreateExp::Process(po::variables_map &vm)
vector<string> vars;
if (vm.count("useSessionVariables"))
{
nfields = m_f->m_session->GetVariables().size();
vars = m_f->m_session->GetVariables();
}
else
{
nfields = m_f->m_variables.size();
vars = m_f->m_variables;
m_f->m_variables = m_f->m_session->GetVariables();
}
nfields = m_f->m_variables.size();
vars = m_f->m_variables;
m_f->m_exp.resize(nfields * nstrips);
......
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