Skip to content
Snippets Groups Projects
Commit 51256cc4 authored by Kilian Lackhove's avatar Kilian Lackhove
Browse files

FieldConvert: fix a crash in the interppointdatatofld module

parent 1ee65991
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment