Skip to content
Snippets Groups Projects
Commit d6857274 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

GIT: fix previous dirty commit

parent 70845a88
No related branches found
No related tags found
No related merge requests found
......@@ -353,7 +353,7 @@ void Foam::ensightFile::writeList
{
for (const label id : addr)
{
if (idx >= field.size() || std::isnan(field[id]))
if (id < 0 || id >= field.size() || std::isnan(field[id]))
{
writeUndef();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment