Skip to content
Snippets Groups Projects
Commit afc4f179 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix for #1746

parent 02d4949c
No related branches found
No related tags found
No related merge requests found
......@@ -997,8 +997,10 @@ public:
id += f[i + 1 + j];
j++;
}
if(id.size() > 0) {
_fields.insert(atoi(id.c_str()));
}
}
i += j + 1;
}
std::vector<std::string> expressions(1), variables(3 + _fields.size());
......@@ -1035,7 +1037,7 @@ public:
values[i++] = (*field)(x, y, z);
}
else {
Msg::Warning("Unknown Field %i", *it);
Msg::Warning("Unknown Field %i in MathEval", *it);
values[i++] = MAX_LC;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment