Permalink
Browse files

Merge pull request #2259 from mkuron/endian

Fix PARTIAL_PERIODIC on big-endian platforms
  • Loading branch information...
fweik committed Sep 13, 2018
2 parents e437080 + 81f9b86 commit 252091d888e9f8ddc052d531138bcea41fb7c570
Showing with 4 additions and 1 deletion.
  1. +1 −1 src/core/global.cpp
  2. +3 −0 src/core/utils/serialization/List.hpp
View
@@ -147,7 +147,7 @@ const std::unordered_map<int, Datafield> fields{
{&nptiso.piston, Datafield::Type::DOUBLE, 1,
"npt_piston"}}, /* 27 from pressure.cpp */
{FIELD_PERIODIC,
{&periodic, Datafield::Type::BOOL, 3,
{&periodic, Datafield::Type::INT, 1,
"periodicity"}}, /* 28 from grid.cpp */
{FIELD_SKIN,
{&skin, Datafield::Type::DOUBLE, 1, "skin"}}, /* 29 from integrate.cpp */
@@ -20,6 +20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define CORE_UTILS_SERIALIZATION_LIST_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 "core/utils/List.hpp"

0 comments on commit 252091d

Please sign in to comment.