diff --git a/include/openmc/tallies/tally.h b/include/openmc/tallies/tally.h index 96b081615d..c323d3bace 100644 --- a/include/openmc/tallies/tally.h +++ b/include/openmc/tallies/tally.h @@ -22,6 +22,8 @@ extern "C" double global_tally_absorption; // Non-member functions //============================================================================== +// Alias for the type returned by xt::adapt(...). N is the dimension of the +// multidimensional array template using adaptor_type = xt::xtensor_adaptor, N>; diff --git a/src/state_point.cpp b/src/state_point.cpp index 2383a5ed1a..63c8264a36 100644 --- a/src/state_point.cpp +++ b/src/state_point.cpp @@ -1,5 +1,12 @@ #include "openmc/state_point.h" +#include +#include +#include + +#include "xtensor/xbuilder.hpp" // for empty_like +#include "xtensor/xview.hpp" + #include "openmc/capi.h" #include "openmc/constants.h" #include "openmc/error.h" @@ -9,13 +16,6 @@ #include "openmc/simulation.h" #include "openmc/tallies/tally.h" -#include "xtensor/xbuilder.hpp" // for empty_like -#include "xtensor/xview.hpp" - -#include -#include -#include - namespace openmc {