STYLE: IOstreams with float/double instead of floatScalar/doubleScalar

- consistent with defining IO of int32_t/int64_t and with recent
  changes to ensightFile. Using the primitives directly instead of
  typedefs to them makes the code somewhat less opaque.
This commit is contained in:
Mark Olesen
2022-07-22 15:37:34 +02:00
parent a4a8f77b7b
commit 6320bab2b5
30 changed files with 122 additions and 127 deletions

View File

@ -232,13 +232,13 @@ vtk::outputOptions getOutputOptions(const argList& args)
if (!args.found("ascii"))
{
if (sizeof(floatScalar) != 4 || sizeof(label) != 4)
if (sizeof(float) != 4 || sizeof(label) != 4)
{
opts.ascii(true);
WarningInFunction
<< "Using ASCII rather than legacy binary VTK format since "
<< "floatScalar and/or label are not 4 bytes in size."
<< "float and/or label are not 4 bytes in size."
<< nl << endl;
}
else