mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-14 09:45:36 +00:00
BinaryIO fix for alternative little-endian format name (used in 96I ensemble)
This commit is contained in:
parent
ddb192bac7
commit
c8af498a2a
@ -341,7 +341,7 @@ class BinaryIO {
|
|||||||
int ieee32big = (format == std::string("IEEE32BIG"));
|
int ieee32big = (format == std::string("IEEE32BIG"));
|
||||||
int ieee32 = (format == std::string("IEEE32"));
|
int ieee32 = (format == std::string("IEEE32"));
|
||||||
int ieee64big = (format == std::string("IEEE64BIG"));
|
int ieee64big = (format == std::string("IEEE64BIG"));
|
||||||
int ieee64 = (format == std::string("IEEE64"));
|
int ieee64 = (format == std::string("IEEE64") || format == std::string("IEEE64LITTLE"));
|
||||||
assert(ieee64||ieee32|ieee64big||ieee32big);
|
assert(ieee64||ieee32|ieee64big||ieee32big);
|
||||||
assert((ieee64+ieee32+ieee64big+ieee32big)==1);
|
assert((ieee64+ieee32+ieee64big+ieee32big)==1);
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user