mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
GIT: fix previous dirty commit
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user