Skip to content

Commit

Permalink
Merge pull request #2259 from mkuron/endian
Browse files Browse the repository at this point in the history
Fix PARTIAL_PERIODIC on big-endian platforms
  • Loading branch information
fweik committed Sep 13, 2018
2 parents e437080 + 81f9b86 commit 252091d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/global.cpp
Expand Up @@ -147,7 +147,7 @@ const std::unordered_map<int, Datafield> fields{
{&nptiso.piston, Datafield::Type::DOUBLE, 1, {&nptiso.piston, Datafield::Type::DOUBLE, 1,
"npt_piston"}}, /* 27 from pressure.cpp */ "npt_piston"}}, /* 27 from pressure.cpp */
{FIELD_PERIODIC, {FIELD_PERIODIC,
{&periodic, Datafield::Type::BOOL, 3, {&periodic, Datafield::Type::INT, 1,
"periodicity"}}, /* 28 from grid.cpp */ "periodicity"}}, /* 28 from grid.cpp */
{FIELD_SKIN, {FIELD_SKIN,
{&skin, Datafield::Type::DOUBLE, 1, "skin"}}, /* 29 from integrate.cpp */ {&skin, Datafield::Type::DOUBLE, 1, "skin"}}, /* 29 from integrate.cpp */
Expand Down
3 changes: 3 additions & 0 deletions src/core/utils/serialization/List.hpp
Expand Up @@ -20,6 +20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define CORE_UTILS_SERIALIZATION_LIST_HPP #define CORE_UTILS_SERIALIZATION_LIST_HPP


#include <boost/serialization/array.hpp> #include <boost/serialization/array.hpp>
#if BOOST_VERSION >= 106400 && BOOST_VERSION < 106500
#include <boost/serialization/array_wrapper.hpp>
#endif
#include <boost/serialization/split_free.hpp> #include <boost/serialization/split_free.hpp>


#include "core/utils/List.hpp" #include "core/utils/List.hpp"
Expand Down

0 comments on commit 252091d

Please sign in to comment.