Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PARTIAL_PERIODIC on big-endian platforms #2259

Merged
merged 1 commit into from
Sep 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/core/global.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
3 changes: 3 additions & 0 deletions src/core/utils/serialization/List.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down