1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-09 23:45:36 +00:00

Gotten rid of c++17 in Test_serialisation.cc

This commit is contained in:
Michael Marshall 2019-02-21 14:43:07 +00:00
parent 34b9450fc9
commit 752530f352

View File

@ -98,7 +98,7 @@ void ioTest(const std::string &filename, const O &object, const std::string &nam
bool good = Serializable::CompareMember(object, *buf);
if (!good) {
std::cout << " failure!" << std::endl;
if constexpr (EigenIO::is_tensor<O>::value)
if (EigenIO::is_tensor<O>::value)
dump_tensor(*buf,"???");
exit(EXIT_FAILURE);
}