Commit 51256cc4 authored by Kilian Lackhove's avatar Kilian Lackhove

FieldConvert: fix a crash in the interppointdatatofld module

parent 1ee65991
......@@ -91,7 +91,7 @@ void ProcessInterpPointDataToFld::Process(po::variables_map &vm)
ASSERTL0(nFields > 0, "No field values provided in input");
// assume one field is already defined from input file.
m_f->m_exp.resize(nFields + 1);
m_f->m_exp.resize(nFields);
for (i = 1; i < nFields; ++i)
{
m_f->m_exp[i] = m_f->AppendExpList(0);
......
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