Skip to content
Snippets Groups Projects
Commit 1fbd362f authored by Henry Weller's avatar Henry Weller
Browse files

src/conversion/ensight: Specify std::isnan

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2041
parent 9891a0cc
Branches
Tags
1 merge request!33Merge foundation
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -51,7 +51,7 @@ bool Foam::ensightPart::isFieldDefined(const List<scalar>& field) const
{
const label id = idList[i];
if (id >= field.size() || isnan(field[id]))
if (id >= field.size() || std::isnan(field[id]))
{
return false;
}
......
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