specieCoeffs: Updated for single-precision compilation

This commit is contained in:
Henry Weller
2022-01-26 16:36:14 +00:00
parent f4b497bd81
commit c7aaf66ffa

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2019-2021 OpenFOAM Foundation \\ / A nd | Copyright (C) 2019-2022 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -62,7 +62,7 @@ Foam::specieCoeffs::specieCoeffs
i + 1, i + 1,
specieName.size() - i - 1 specieName.size() - i - 1
); );
exponent = atof(exponentStr.c_str()); exponent = scalar(atof(exponentStr.c_str()));
specieName = specieName(0, i); specieName = specieName(0, i);
} }