diff --git a/tests/collocation_common.hpp b/tests/collocation_common.hpp index a59ab07c..4e212101 100644 --- a/tests/collocation_common.hpp +++ b/tests/collocation_common.hpp @@ -22,7 +22,6 @@ using namespace GauXC; #define MAX_NPTS_CHECK 67 -#define REF_COLLOCATION_DATA_DEFINED // Guard for hdf5_test_serialization_impl.hpp struct ref_collocation_data { std::vector mask; diff --git a/tests/hdf5_test_serialization_impl.hpp b/tests/hdf5_test_serialization_impl.hpp index 5f1d4d30..99a0c70d 100644 --- a/tests/hdf5_test_serialization_impl.hpp +++ b/tests/hdf5_test_serialization_impl.hpp @@ -11,12 +11,7 @@ */ #pragma once -// This file contains implementations for HDF5 serialization of test data structures -// Must include struct definitions before this file -#ifndef REF_COLLOCATION_DATA_DEFINED -#error "collocation_common.hpp must be included before hdf5_test_serialization_impl.hpp" -#endif - +#include "collocation_common.hpp" #include "hdf5_test_serialization.hpp" namespace GauXC {